/* Auth Modal */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.auth-modal {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    position: relative;
}

.auth-modal {
    animation: fadeUp .25s ease;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ********** */

/* Auth Register Form Checkbox Links */
.agreement-text {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.agreement-link {
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.agreement-link:hover {
    color: #000;
    text-decoration-color: #000;
}
.agreement-link {
    color: #333;
}

.agreement-link:hover {
    color: #000;
}
/* ********** */

/* Auth Modal Tabs */
.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.auth-tab {
    background: none;
    border: none;
    padding: 10px 0;
    font-weight: 500;
    letter-spacing: 1px;
    color: #888;
    cursor: pointer;
    position: relative;
}

.auth-tab.active {
    color: #000;
    font-weight: 600;
}

.auth-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: #000;
}
/* ********** */

/* Auth Modal Close Button */
.auth-modal {
    position: relative;
}

.auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.auth-close:hover {
    color: #000;
}
/* ********** */

/* Auth Modal Social Button */
.social-auth button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.auth-divider {
    text-align: center;
    font-size: 13px;
    color: #999;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e5e5e5;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}
/* ********** */