/* Custom styles for Bootstrap signup_form.php */

/* Gradient header */
.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

/* Section headers styling */
.signup-form h5.text-primary {
    position: relative;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #28a745;
    color: #495057 !important;
    font-weight: 600;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Different colors for different sections */
.signup-form h5.text-primary:nth-of-type(1) {
    border-left-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.signup-form h5.text-primary:nth-of-type(2) {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.signup-form h5.text-primary:nth-of-type(3) {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.signup-form h5.text-primary:nth-of-type(4) {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

.signup-form h5.text-primary:nth-of-type(5) {
    border-left-color: #6f42c1;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.signup-form h5.text-primary:nth-of-type(6) {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

/* Form sections */
.signup-form .row.mb-4 {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 2rem !important;
    padding-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Form floating enhancements */
.signup-form .form-floating > .form-control:focus,
.signup-form .form-floating > .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Required field styling */
.signup-form .text-danger {
    font-weight: bold;
}

/* Button enhancements */
.signup-form .btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.signup-form .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Alert styling for terms */
.signup-form .alert-info {
    border-left: 4px solid #17a2b8;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-color: #b8daff;
}

/* Captcha section styling */
.signup-form .bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Icon styling */
.signup-form h5.text-primary i {
    color: inherit;
    opacity: 0.8;
}

.signup-form .form-floating label i {
    opacity: 0.7;
}

/* Form text enhancements */
.signup-form .form-text {
    font-size: 0.875rem;
    color: #6c757d;
}

.signup-form .form-text i {
    color: #007bff;
}

/* Card shadow enhancement */
.signup-form .card.shadow-lg {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border: none;
}

/* Password strength indicator */
.signup-form input[type="password"]:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .signup-form .card-body.p-4 {
        padding: 1rem !important;
    }
    
    .signup-form h4.mb-0 {
        font-size: 1.3rem;
    }
    
    .signup-form h5.text-primary {
        font-size: 1.1rem;
        margin: -1rem -1rem 1.5rem -1rem;
        padding: 0.875rem 1rem;
    }
    
    .signup-form .btn-lg {
        padding: 10px 24px;
        font-size: 1rem;
        width: 100%;
    }
    
    .signup-form .row.mb-4 {
        margin-bottom: 1.5rem !important;
        border-radius: 6px;
    }
}

/* Focus states for accessibility */
.signup-form .form-control:focus,
.signup-form .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Container responsive padding */
.signup-form .container-fluid {
    max-width: 1200px;
}

/* Border styling */
.signup-form .border-top {
    border-color: rgba(0,0,0,0.1) !important;
}

/* Success button gradient */
.signup-form .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}

.signup-form .btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1c7430 100%);
}