/* ==========================================
   PLATFORM AUTHENTICATION
========================================== */

.av-auth-wrapper {
    width: 100%;
    max-width: 520px;
    margin: 45px auto;
    padding: 38px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    box-shadow:
        0 15px 45px rgba(15, 23, 42, 0.08);
}

.av-auth-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #172b4d;
    margin-bottom: 8px;
}

.av-auth-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 28px;
}

.av-auth-group {
    margin-bottom: 17px;
}

.av-auth-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
}

.av-auth-group input {
    width: 100%;
    height: 46px;

    padding: 0 14px;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    background: #ffffff;
    color: #1e293b;

    font-size: 14px;
}

.av-auth-group input:focus {
    outline: none;
    border-color: #0755b8;

    box-shadow:
        0 0 0 3px rgba(7, 85, 184, 0.10);
}

.av-auth-btn {
    width: 100%;
    min-height: 48px;

    background: linear-gradient(
        135deg,
        #0755b8,
        #0876df
    );

    color: #ffffff;

    border: none;
    border-radius: 9px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}

.av-auth-btn:hover {
    background: #06499d;
    color: #ffffff;
}

.av-auth-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.av-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;

    background: #ffffff;
    color: #334155;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.av-google-btn:hover {
    background: #f8fafc;
}

.av-google-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.av-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 25px 0;

    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.av-auth-divider::before,
.av-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.av-auth-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 15px 0;

    color: #475569;

    font-size: 12px;
    line-height: 1.6;
}

.av-auth-consent input[type="checkbox"] {
    width: 17px;
    height: 17px;

    flex-shrink: 0;
    margin-top: 2px;
}

.av-auth-consent a,
.av-auth-footer a,
.av-auth-forgot a {
    color: #0755b8;
    text-decoration: none;
    font-weight: 600;
}

.av-auth-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.av-auth-forgot {
    text-align: right;
    margin: 8px 0 20px;
    font-size: 13px;
}

#av-registration-message,
#av-login-message {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 600px) {

    .av-auth-wrapper {
        margin: 20px auto;
        padding: 25px 18px;
        border-radius: 12px;
    }

    .av-auth-title {
        font-size: 25px;
    }
}