/* Premium Auth Modal CSS */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-modal-container {
    width: 100%;
    max-width: 450px;
    background: rgba(17, 25, 40, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    color: #fff;
}

.auth-modal-overlay.active .auth-modal-container {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.auth-modal-close:hover {
    color: #fff;
}

.auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.auth-tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.auth-tab.active {
    color: #48D1BD;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #48D1BD;
    border-radius: 3px;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.auth-form.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: rgba(255, 255, 255, 0.4);
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 15px 12px 45px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.input-wrapper input:focus {
    border-color: #48D1BD;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(72, 209, 189, 0.1);
}

.auth-btn {
    background: linear-gradient(135deg, #5c1ac3, #48D1BD);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(92, 26, 195, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.auth-footer a {
    color: #48D1BD;
    font-weight: 600;
    text-decoration: none;
}

.auth-guest-line {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.guest-link {
    color: rgba(72, 209, 189, 0.75) !important;
    font-weight: 600;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.guest-link:hover {
    color: #48D1BD !important;
    text-decoration: underline;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.social-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-divider::before, .social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}
