:root {
    --olive: #8C9C54;          /* основной */
    --olive-dark: #6F7D3F;     /* hover, акценты */
    --olive-darker: #535E2E;   /* active */
    --olive-text: #2F3520;     /* основной текст */
    --olive-muted: #6B7254;    /* второстепенный текст */
    --olive-border: #D3D9BC;   /* рамки полей */
    --olive-light: #F3F5EC;    /* фон страницы */
    --olive-soft: rgba(140, 156, 84, 0.18);
}

body {
    padding: 0;
    margin: 0;
    background-size: cover;
    min-height: 100vh;
    background: var(--olive-light);
}

* {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

.auth-bg {
    font-size: 18px;
    line-height: 20px;
    font-weight: normal;
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 200px;
    height: 60px;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 30px auto 50px;
    background: url(../images/logo.svg) no-repeat 50%;
    background-size: contain;
    filter: drop-shadow(0 4px 8px rgba(83, 94, 46, 0.25));
}

.auth {
    margin-left: 8px;
    margin-bottom: 100px;
}

.auth-content {
    flex: 1 0 540px;
    margin: 0 50% 0;
}

.auth-form {
    width: 100%;
    padding: 25px 50px;
    color: var(--olive-text);
    background: #fff;
    border-radius: 15px;
    border: 6px solid rgba(140, 156, 84, 0.36);
    box-shadow:
        0 2px 6px rgba(83, 94, 46, 0.06),
        0 12px 32px rgba(83, 94, 46, 0.12);
}

.input-holder {
    width: 100%;
    margin-bottom: 26px;
}

.input,
.captcha-input input {
    font-size: 18px;
    line-height: 20px;
    width: 100%;
    outline: none;
    padding: 10px 20px;
    color: var(--olive-text);
    border: 1px solid var(--olive-border);
    border-radius: 6px;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(83, 94, 46, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus,
.captcha-input input:focus {
    border-color: var(--olive);
    box-shadow:
        inset 0 1px 2px rgba(83, 94, 46, 0.06),
        0 0 0 3px var(--olive-soft);
}

.input::placeholder,
.captcha-input input::placeholder {
    color: #A3A88F;
}

.flex-row {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.captcha-img img {
    border-radius: 6px;
}

.captcha-input input {
    width: 200px;
}

.title-h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 3px;
    color: var(--olive-text);
}

.descr {
    text-align: center;
    margin-bottom: 47px;
    color: var(--olive-muted);
}

.label {
    display: block;
    margin-bottom: 8px;
    color: var(--olive-text);
}

.btn {
    padding: 13px;
    font-size: 18px;
    color: #fff;
    background: var(--olive);
    border-radius: 7px;
    border: none;
    outline: none;
    text-align: center;
    letter-spacing: 1px;
    margin: 8px 0 0 25%;
    display: block;
    cursor: pointer;
    width: 50%;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(111, 125, 63, 0.3);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

.btn:hover {
    background: var(--olive-dark);
    box-shadow: 0 6px 16px rgba(83, 94, 46, 0.35);
}

.btn:active {
    background: var(--olive-darker);
    box-shadow: 0 2px 6px rgba(83, 94, 46, 0.3);
    transform: translateY(1px);
}

.btn:focus-visible {
    box-shadow:
        0 4px 12px rgba(111, 125, 63, 0.3),
        0 0 0 3px var(--olive-soft);
}

.error-text {
    color: #fff;
    margin: 10px 0 8px;
    font-size: 14px;
    text-align: center;
    background: #D9534F;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(217, 83, 79, 0.25);
}

@media screen and (max-width: 720px) {
    .logo {
        margin: 0 auto 10px;
    }

    .auth-bg {
        padding: 10px 0 0;
    }

    .auth-content {
        flex: 1 0 100%;
        margin: 0;
        transform: none;
    }

    .auth {
        margin: 0;
    }
}

@media screen and (max-width: 580px) {
    .auth-form {
        width: 100%;
        padding: 32px 21px;
        border-radius: 10px;
    }

    .captcha-input input {
        width: 100%;
    }
}