.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f7f6f2;
    font-family: var(--font-B), serif;
}

.login-panel {
    background: #fff;
    border-radius: 9px;
    padding: 44px 36px 36px 36px;
    box-shadow: 0 8px 24px #b7a87811;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.welcome-text {
    text-align: center;
    margin-bottom: 36px;
    font-size: 2.1em;
    font-weight: 700;
    color: #31271e;
    letter-spacing: -0.04em;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #433722;
}

input[type="email"], input[type="password"], input[type="text"], #resetEmail {
    width: 100%;
    padding: 12px 14px;
    font-size: 1em;
    border: 1px solid #ded9ce;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #faf8f6;
    box-sizing: border-box;
    transition: border .13s;
}

input[type="email"]:focus, input[type="password"]:focus, #resetEmail:focus {
    border-color: #ed9745;
}

.row-options {
    margin-bottom: 5px;
}

.show-pass {
    font-size: 0.98em;
    display: flex;
    align-items: center;
    gap: 7px;
    user-select: none;
}

.row-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 22px;
    font-size: 1.01em;
}

.row-group span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.row-group input[type="checkbox"] {
    margin: 0;
}

.row-group label[for="remember"] {
    cursor: pointer;
    user-select: none;
}

/* Link "Zapomenuté heslo?" */
.forgot {
    color: #847c5c;
    text-decoration: none;
    font-size: 0.99em;
    transition: color .14s;
    white-space: nowrap;
}

.forgot:hover {
    color: #ed9745;
}

/* Tlačítko přihlásit */
.login-btn {
    width: 100%;
    background: #ed9745;
    color: #fff;
    font-size: 1.09em;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    padding: 13px 0;
    margin-top: 14px;
    cursor: pointer;
    transition: background 0.18s;
    font-family: var(--font-B), serif;
}

.login-btn:hover {
    background: #ff7e00;
}

/* Responsive */
@media (max-width: 550px) {
    .login-panel {
        padding: 20px 7vw;
    }
}

/* Pro případné lepší zarovnání a jednotnou výšku inputů - zaručí rovnost */
input[type="email"], input[type="password"] {
    min-height: 44px;
    line-height: 1.3;
}

/* Uživatelsky přívětivý kurzor na checkbox text ve .show-pass */
.show-pass label {
    cursor: pointer;
}

#forgotPasswordForm {
    max-width: 420px;
    margin: 40px auto 20px auto;
    background: #fff;
    padding: 30px 28px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(183, 168, 120, 0.15);
    font-family: inherit;
}

#forgotPasswordForm label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #433722;
    font-size: 1em;
}

#forgotPasswordForm input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 1em;
    border: 1px solid #ded9ce;
    border-radius: 6px;
    margin-bottom: 18px;
    background: #faf8f6;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

#forgotPasswordForm input[type="email"]:focus {
    border-color: #ed9745;
    outline: none;
}

#forgotPasswordForm button#sendResetRequest {
    background-color: #ed9745;
    color: white;
    font-weight: 600;
    font-size: 1.05em;
    padding: 12px 0;
    width: 100%;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.18s ease;
}

#forgotPasswordForm button#sendResetRequest:hover {
    background-color: #d28230;
}

/*__________________________________________________________________________*/

/* mail and pass error */
.err-msg {
    color: var(--color-B);
    font-size: 0.9em;
    margin-top: 4px;
    display: block;
}

.chybne {
    border-color: var(--color-B);
    background: #ffe6e6;
}