﻿/* PAGE */

.auth-page {
    width: 100%;
    max-width: 560px;
    min-height: calc(100vh - 140px);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px;
}

/* CARD */

.login-card {
    background: linear-gradient( 180deg, var(--panel), var(--panel-2) );
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,.22), 0 1px 0 rgba(255,255,255,.03) inset;
    width: 100%;
}

/* HEADER */

.login-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.emoji-super-big {
    width: 40px;
    height: 40px;
    vertical-align: -8px;
    margin-right: 0px;
}

/* LOGO */

.login-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .login-icon img {
        width: 54px;
        height: 54px;
        object-fit: contain;
    }

   /* TITLE */

.login-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.login-subtitle {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 15px;
}

label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    padding-left: 8px;
}

.form-error {
    background: rgba(248,81,73,.12);
    border: 1px solid var(--danger);
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 13px;
}



.row {
    margin-bottom: 16px;
}

.auth-switch {
    margin-top: 16px;
    text-align: center;
}

    .auth-switch a {
        color: var(--accent);
        text-decoration: none;
        font-size: 13px;
    }

        .auth-switch a:hover {
            text-decoration: underline;
        }


.btn-primary {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    box-sizing: border-box;
    border-radius: 14px;
    border: 1px solid rgba(34, 158, 217, .55);
    background: #229ED9;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .12s ease;
}

    .btn-primary:hover {
        background: #1d8fc6;
        border-color: #1d8fc6;
        transform: translateY(-1px);
    }

    .btn-primary:active {
        background: #1986b8;
        transform: scale(.98);
    }

    .btn-primary .icon {
        font-size: 17px;
        line-height: 1;
    }

.field-error {
    margin-top: -4px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--danger);
    text-align: center;
}

    .field-error:empty {
        display: none !important;
    }

.row:has(.field-error:empty) {
    display: none;
}

    .recaptcha-row .g-recaptcha > div {
        margin: 0 auto;
    }

.login-info {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

    .login-info p {
        margin-bottom: 12px;
    }

    .login-info ul {
        padding-left: 18px;
        margin: 0;
    }

    .login-info li {
        margin: 6px 0;
    }