/* Auth Page Specific Styles */

/* Remove top padding/margin on mobile only */
@media (max-width: 767.98px) {
    .auth-section {
        padding-top: 2rem !important;
        margin-top: 0 !important;
    }
}

/* Full width tabs - 50/50 split */
#authTab {
    display: flex;
    width: 100%;
    border-bottom: none;
    margin-bottom: 2rem;
}

#authTab .nav-item {
    flex: 1;
    width: 50%;
}

#authTab .nav-link {
    width: 100%;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 12px;
    color: var(--text-muted) !important;
    background-color: rgba(182 182 182 / 40%);
    border: 1px solid var(--glass-border);
    border-bottom: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

/* Dark theme: lighter text for better visibility */
.dark-theme #authTab .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dark-theme #authTab .nav-link:hover {
    color: rgba(255, 255, 255, 0.95) !important;
}

#authTab .nav-link:hover::after {
    width: 100%;
}

#authTab .nav-link.active {
    color: white !important;
    background-color: var(--primary);
    border-color: var(--primary);
}

#authTab .nav-link.active::after {
    width: 100%;
}

/* Social login styles */
.social-login {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-login .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-login .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Google Button Styles - 3D Effect */
.btn-google {
    background-color: white !important;
    border: 2px solid #dadce0 !important;
    color: #3c4043 !important;
    box-shadow: 
        0 4px 0 rgba(0, 0, 0, 0.1),
        0 6px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    position: relative;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-google:hover {
    background-color: #f8f9fa !important;
    border-color: #dadce0 !important;
    color: #3c4043 !important;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 rgba(0, 0, 0, 0.1),
        0 8px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
}

.btn-google:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 0 rgba(0, 0, 0, 0.1),
        0 3px 5px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.btn-google:focus {
    background-color: #f8f9fa !important;
    border-color: #dadce0 !important;
    color: #3c4043 !important;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.25) !important;
}

/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
}

.loading-content p {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Facebook Button Styles - 3D Effect */
.btn-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%) !important;
    border: 2px solid #1877f2 !important;
    color: white !important;
    box-shadow: 
        0 4px 0 rgba(0, 0, 0, 0.2),
        0 6px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-facebook:hover {
    background: linear-gradient(135deg, #166fe5 0%, #1565d1 100%) !important;
    border-color: #166fe5 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 rgba(0, 0, 0, 0.2),
        0 8px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.btn-facebook:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 0 rgba(0, 0, 0, 0.2),
        0 3px 5px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.btn-facebook:focus {
    background: linear-gradient(135deg, #166fe5 0%, #1565d1 100%) !important;
    border-color: #166fe5 !important;
    color: white !important;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.25) !important;
}

.divider-text {
    position: relative;
    display: inline-block;
    padding: 0 10px;
    background-color: var(--bg-glass);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    top: -10px;
}

.text-center .divider-text:before,
.text-center .divider-text:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.text-center .divider-text:before {
    right: 100%;
}

.text-center .divider-text:after {
    left: 100%;
} 