/* ============================================
   AUTH PAGES COMMON STYLING - V2
   Beautiful, consistent styling for all authentication pages
   ============================================ */

.auth-section {
    background: linear-gradient(135deg, #5600ea 0%, #26a69a 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
}

.auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #26a69a 0%, #20c997 100%);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto;
}

.auth-icon-success {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.auth-icon-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

.btn-auth-primary {
    background: linear-gradient(135deg, #26a69a 0%, #20c997 100%);
    border: none;
    color: white !important;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(38, 166, 154, 0.3);
    background: linear-gradient(135deg, #20c997 0%, #26a69a 100%);
    color: white !important;
}

.btn-auth-secondary {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #64748b !important;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-auth-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569 !important;
    transform: translateY(-1px);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: #94a3b8;
    font-size: 0.875rem;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-link,
.auth-link-primary {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-link {
    color: #64748b;
    background: #f8fafc;
}

.auth-link:hover {
    background: #f1f5f9;
    color: #475569;
    transform: translateY(-1px);
}

.auth-link-primary {
    color: #26a69a;
    background: rgba(38, 166, 154, 0.1);
    font-weight: 600;
}

.auth-link-primary:hover {
    background: rgba(38, 166, 154, 0.2);
    color: #20c997;
    transform: translateY(-1px);
}

/* Form Styling */
.auth-card .form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.auth-card .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-card .form-control:focus {
    border-color: #26a69a;
    box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.1);
}

.auth-card .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-card .form-select:focus {
    border-color: #26a69a;
    box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.1);
}

/* Responsive */
@media (max-width: 767px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}
