/* Modern Auth Styling */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 48, 6, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: 0;
}

.auth-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 15px;
    color: #64748b;
}

.auth-form-group {
    margin-bottom: 24px;
    position: relative;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.auth-input {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.2s ease;
    outline: none;
}

.auth-input:focus {
    background: #ffffff;
    border-color: #f43006;
    box-shadow: 0 0 0 4px rgba(244, 48, 6, 0.1);
}

.auth-input::placeholder {
    color: #94a3b8;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f43006 0%, #d92804 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(244, 48, 6, 0.3);
    position: relative;
    overflow: hidden;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 48, 6, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

.social-login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 32px 0;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-login-separator::before,
.social-login-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.social-login-separator span {
    padding: 0 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    gap: 12px;
}

.social-btn-facebook {
    background: #1877f2;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.social-btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.35);
    color: #ffffff;
}

.social-btn-google {
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.social-btn-google:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #3c4043;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
}

.auth-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #f43006;
    text-decoration: underline;
}

/* Dark Mode Support */
body.dark-mode .auth-wrapper {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .auth-wrapper::before {
    background: radial-gradient(circle, rgba(244, 48, 6, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

body.dark-mode .auth-wrapper::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

body.dark-mode .auth-card {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .auth-title {
    color: #f1f5f9;
}

body.dark-mode .auth-subtitle {
    color: #94a3b8;
}

body.dark-mode .auth-label {
    color: #cbd5e1;
}

body.dark-mode .auth-input {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

body.dark-mode .auth-input:focus {
    background: #1e293b;
    border-color: #f43006;
}

body.dark-mode .auth-input::placeholder {
    color: #94a3b8;
}

body.dark-mode .social-login-separator {
    color: #64748b;
}

body.dark-mode .social-login-separator::before,
body.dark-mode .social-login-separator::after {
    border-color: #475569;
}

body.dark-mode .social-btn-google {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

body.dark-mode .social-btn-google:hover {
    background: #475569;
    color: #ffffff;
}
