.employee-form-page{
    .form-header{
        background:#1e2226;
        color:#fff;
        padding:6rem 0;
    }
    .employee-form-section{
        display:none;
    }
}

/* Form wrapper and custom styles */


.eflc-form .alert {
    border-radius: 4px;
}

/* Form sections with animations */
.eflc-form-section {
    animation: slideInUp 0.6s ease-out forwards;
    margin-bottom: 40px;
    opacity: 0;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section titles */
.eflc-section-title {
    border-bottom: 2px solid #1e2226;
    color: #1e2226;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 12px;
}

/* Extend Bootstrap form-control focus styles */
.eflc-form .form-control:focus,
.eflc-form .form-select:focus {
    border-color: #1e2226;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* Formation grid */
.eflc-formations-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-top: 15px;
}

.eflc-formation-card {
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}

.eflc-formation-card:hover {
    background: #f0f4ff;
    border-color: #1e2226;
}

.eflc-card-inputs {
    border-top: 1px solid #e0e0e0;
    display: none;
    margin-top: 12px;
    padding-top: 12px;
}

.eflc-card-inputs.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eflc-card-inputs .form-control {
    font-size: 0.95em;
    padding: 10px;
}

/* File input styling */
.eflc-file-input-wrapper {
    position: relative;
}

.eflc-file-name {
    color: #28a745;
    font-size: 0.9em;
    font-weight: 500;
    margin-top: 8px;
}

/* Limitations section */
.eflc-limitations-section {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    display: none;
    margin-top: 12px;
    padding: 16px;
}

.eflc-limitations-section.show {
    display: block;
}

.eflc-limitations-section .form-control {
    min-height: 100px;
    resize: vertical;
}

/* Agreement section */
.eflc-agreement-section {
    background: #f8f9fa;
    border-left: 4px solid #1e2226;
    border-radius: 8px;
    padding: 20px;
}

/* Button group */
.eflc-button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.eflc-button-group .btn {
    flex: 1;
    max-width: 300px;
}

.eflc-button-group .btn-primary {
    background: #1e2226;
    border: none;
}



/* Success message */
.eflc-success-message {
    display: none;
    margin-bottom: 20px;
}

.eflc-success-message.show {
    animation: slideInDown 0.5s ease-out;
    display: block;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bootstrap validation style overrides for the form */
.eflc-form .form-control.is-invalid,
.eflc-form .form-select.is-invalid {
    background-image: none;
}

.eflc-form .invalid-feedback {
    display: none;
}

.eflc-form .invalid-feedback.d-block {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .eflc-form-wrapper {
        padding: 20px;
    }

    .eflc-button-group {
        flex-direction: column;
    }

    .eflc-button-group .btn {
        max-width: 100%;
    }

    .eflc-formations-grid {
        grid-template-columns: 1fr;
    }
}
