.form-section {
    background: white;
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px 30px;
    color: white;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.section-icon i {
    font-size: 1.5rem;
    color: white;
}

.form-section-content {
    padding: 35px 30px;
}

/* Input Group Modern Styling */
.input-group-modern {
    position: relative;
    margin-bottom: 25px;
}

.input-group-modern .form-control,
.input-group-modern .form-select {
    height: 60px;
    font-size: 1.1rem;
    padding: 20px 20px 8px 55px;
    border: 2px solid #e8eaf6;
    border-radius: 12px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.input-group-modern .form-control:focus,
.input-group-modern .form-select:focus {
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
}

.input-group-modern .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.2rem;
    z-index: 5;
}

.input-group-modern .form-label {
    position: absolute;
    left: 55px;
    top: 8px;
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e8eaf6;
    z-index: 1;
}

.step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e8eaf6;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 30px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

.step.completed {
    background: #28a745;
    color: white;
}

/* Switch Modern Styling */
.switch-modern {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.switch-modern:hover {
    background: #e9ecef;
}

.switch-modern input[type="checkbox"] {
    width: 50px;
    height: 26px;
    margin-right: 15px;
    position: relative;
    appearance: none;
    background: #ccc;
    border-radius: 13px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.switch-modern input[type="checkbox"]:checked {
    background: #667eea;
}

.switch-modern input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.switch-modern input[type="checkbox"]:checked::before {
    transform: translateX(24px);
}

.switch-modern div {
    flex: 1;
}

.switch-modern strong {
    font-size: 1.1rem;
    color: #344767;
    display: block;
    margin-bottom: 5px;
}

.switch-modern small {
    font-size: 0.95rem;
    color: #666;
}

/* Section Titles */
.form-section-header h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-section-header small {
    font-size: 1rem;
    opacity: 0.9;
}

/* Subsection Headers */
.form-section-content h6 {
    font-size: 1.2rem;
    color: #344767;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-section-content h6 i {
    margin-right: 10px;
    color: #667eea;
}

/* Password Strength */
.progress-container {
    width: 100%;
    height: 6px;
    background: #e8eaf6;
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar-custom {
    height: 100%;
    background: linear-gradient(90deg, #ff4757 0%, #ffa502 50%, #26de81 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Button Styling */
.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-outline-secondary {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid #6c757d;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .form-section-content {
        padding: 25px 20px;
    }
    
    .input-group-modern .form-control,
    .input-group-modern .form-select {
        height: 55px;
        font-size: 1rem;
        padding: 18px 18px 8px 50px;
    }
    
    .input-group-modern .input-icon {
        left: 15px;
        font-size: 1.1rem;
    }
    
    .input-group-modern .form-label {
        left: 50px;
        font-size: 0.8rem;
    }
    
    .step {
        width: 45px;
        height: 45px;
        margin: 0 20px;
        font-size: 1rem;
    }
}
