/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
    font-family: Arial, sans-serif;
    background-color: #f5f1e8; /* jasne beżowe tło z logo */
    line-height: 1.6;
    padding: 2rem;
    color: #2f1f15; /* ciemny brąz z logo */
}

.article {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.article a {
    text-decoration: none;
    font-size: 1.2rem;
    color: #c44a2e; /* ciepła czerwień z naczynka */
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.article a:hover {
    color: #a63b24; /* ciemniejszy odcień czerwieni */
}

.ai-comment {
    border-left: 4px solid #7a9b54;    /* zielony z logo */
    background: #e8f2d8;               /* jasna zieleń tła */
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #4f6633;                    /* nieco ciemniejszy odcień zieleni */
}

blockquote {
    font-weight: bold;
    border-left: 4px solid #c44a2e; /* dopasowany do motywu */
    padding-left: 1rem;
    margin: 1rem 0;
    color: #2f1f15;
}

hr {
    border: none;
    border-top: 1px solid #d6cfc4;
    margin: 2rem 0;
}

.tag-link {
    display: inline-block;
    background: #72523a; /* bombilla */
    color: #fff;
    padding: 0.2em 0.75em;
    margin: 0 0.25em 0.25em 0;
    border-radius: 1em;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: background 0.2s;
}

.tag-link:hover {
    background: #2f1f15; /* głęboki brąz z tekstu */
    color: #fff;
    text-decoration: none;
}

.accordion-button {
    background-color: #ffffff;       /* żółty jak btn-warning */
    color: black;                    /* czytelny tekst */
}

.accordion-button:not(.collapsed) {
    background-color: #c44a2e;       /* ciemniejszy żółty, po rozwinięciu */
    color: black;
}

.accordion-button:focus {
    box-shadow: none;                /* usuń niebieską ramkę focus */
}

body.pt-0 {
    background-color: #f5f1e8; /* jasny beż z palety */
    font-family: Arial, sans-serif;
    color: #2f1f15; /* ciemny brąz */
    padding: 2rem;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #c44a2e; /* czerwień naczynka */
}

form.new_user {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.field {
    margin-bottom: 1.25rem;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.4rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fafafa;
    color: #2f1f15;
}

input[type="checkbox"] {
    margin-right: 0.5rem;
}

.actions input[type="submit"] {
    width: 100%;
    background-color: #c44a2e; /* kolor naczynka */
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.actions input[type="submit"]:hover {
    background-color: #a63b24; /* ciemniejszy czerwony */
}

a {
    color: #72523a; /* brąz z bombilli */
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.alert {
    background-color: #fdecea;
    border-left: 5px solid #c44a2e;
    color: #721c24;
    padding: 0.75rem 1rem;
    margin: 1rem auto;
    max-width: 400px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}
