/* ---------------------------------------------------
   NATÚR ZÖLD–BARNA DESIGN (a feltöltött kép alapján)
   Teljesen újradizájnolt input.css
--------------------------------------------------- */

/* ALAPSZÍNEK PALETTÁJA */
:root {
    /* ZÖLDEK – magasabb telítettséggel, élőbb, "erdőillat" érzettel */
    --deep-green: #0c4638;       /* mély, telített zöld */
    --mid-green: #3c8d6f;        /* élénkebb, gazdag középzöld */
    --soft-green: #92c7a9;       /* friss, felhangosított világoszöld */

    /* BARNAK – maradnak mélyek és melegek */
    --sand: #f0c97a;             /* világos barna több sárgával, melegebb, életteli */
    --sand-dark: #d8a85a;        /* mélyebb, aranybarnás hover */

    --brown: #6e4a2a;        /* melegebb, sárgásabb középbarnaság */
    --brown-light: #b98a5c;  /* sokkal több sárga – vidám, aranybarna hatás */

    --text-dark: #1e1e1e;
    --text-light: #ffffff;: #ffffff;
}

/* ---------------------------------------------------
   ALAP BEÁLLÍTÁSOK
--------------------------------------------------- */
body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    justify-content: center;
    font-size: 20px;
    line-height: 1.45;
    overflow-x: hidden;

}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background: linear-gradient(180deg,
        #1d5f4d 0%,
        #14624c 40%,
        #0c4638 100%
    );
    background-size: 100% 100%;
}

/* ---------------------------------------------------
   KÖZPONTI DOBOZ – új stílus: natúros kártya hatás
--------------------------------------------------- */
#container {
    background: #f2f7f3; /* halvány, világos zöld tónus */
    width: 90%;
    max-width: 420px;
    margin-top: 40px;
    padding: 35px;
    border-radius: 24px;

    /* finom, leveles hatású mintázat */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(170, 214, 187, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(150, 198, 170, 0.28) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(190, 225, 200, 0.22) 0%, transparent 70%);
    background-blend-mode: soft-light;

    /* lágy, diffúz árnyék */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);

    text-align: center;
}

/* ---------------------------------------------------
   CÍMEK + SZÖVEG
--------------------------------------------------- */
#container h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: bold;
    color: var(--deep-green);
}

#container p {
    color: #3e3e3e;
    margin-bottom: 15px;
}

#container label {
    display: block;
    text-align: left;
    margin-top: 14px;
    font-weight: bold;
    color: var(--deep-green);
    font-size: 17px;
}

/* ---------------------------------------------------
   INPUT + SELECT – lekerekítve, natúr stílus
--------------------------------------------------- */
#container input[type="text"],
#container input[type="password"],
#container select {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    margin-bottom: 14px;
    border: 1px solid #ccbfa9;
    border-radius: 14px;
    font-size: 17px;
    box-sizing: border-box;
    background: #fffdf7;
}

#container select {
    background: #f8f3e9;
}

/* ---------------------------------------------------
   GOMBOK – homokszín dizájn
--------------------------------------------------- */
.btn {
    width: 100%;
    padding: 14px 0;
    background: var(--sand);
    color: var(--text-dark);
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: 0.25s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.btn:hover {
    background: var(--sand-dark);
    transform: translateY(-2px);
}

input[type="reset"].btn {
    background: var(--brown-light);
    color: var(--text-light);
}

input[type="reset"].btn:hover {
    background: var(--brown);
}

/* ---------------------------------------------------
   KIJELENTKEZÉS GOMB
--------------------------------------------------- */
.logout-btn {
    background: #b54848;
    border: none;
    color: white;
    font-size: 18px;
    padding: 6px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s;
}

.logout-btn:hover {
    background: #a23636;
    transform: translateY(-2px);
}

/* ---------------------------------------------------
   USER HEADER
--------------------------------------------------- */
.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.username {
    font-size: 22px;
    font-weight: 700;
    color: var(--deep-green);
    text-decoration: none;
}

.username:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------
   KOSÁR + RENDELÉSEIM GOMBSOR – IKON + SZÖVEG (A verzió)
   Árnyékkal, telefonon csak ikon jelenik meg
--------------------------------------------------- */
.action-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.action-btn {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 20px;
    background: var(--mid-green);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);

    display: flex;           /* ikon + szöveg egysorban */
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-btn:hover {
    background: var(--soft-green);
    transform: translateY(-2px);
}

/* Ikon méretezése */
.action-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* SZÖVEG — alapból látszik */
.action-text {
    display: inline;
}

/* MOBILON: csak ikon jelenik meg */
@media (max-width: 480px) {
    .action-text {
        display: none;
    }
}

.action-btn {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 20px;
    background: var(--mid-green);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.action-btn:hover {
    background: var(--soft-green);
    transform: translateY(-2px);
}

/* ---------------------------------------------------
   PAGINATION – natúr stílus
--------------------------------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    background: #faf7f0;
    border: 1px solid #d4c8b7;
    color: #2f3f36;
    transition: 0.25s;
}

.pagination a:hover {
    background: var(--mid-green);
    color: white;
}

.pagination .current {
    background: var(--deep-green);
    color: white;
    font-weight: 600;
}

/* ---------------------------------------------------
   DESKTOP OPTIMALIZÁCIÓ
--------------------------------------------------- */
@media (min-width: 768px) {
    body {
        font-size: 17px;
        justify-content: center;
    }

    #container {
        max-width: 550px;
        padding: 45px;
    }

    .action-row {
        flex-direction: row;
    }

    .action-row form {
        flex: 1;
    }

    .action-btn {
        font-size: 16px;
    }
}
