/* Styles généraux */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Header & Navigation */
.main-header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.navbar-brand img {
    max-height: 40px;
}

/* Conteneur principal */
.main-container {
    min-height: calc(100vh - 150px);
}

/* Formulaire */
.form-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 150px;
    height: auto;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: bold;
}

.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.custom-section {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 5px 5px 0;
}

/* Champs de formulaire */
.form-label {
    font-weight: 500;
    color: #495057;
}

.required-field::after {
    content: " *";
    color: var(--danger-color);
}

.form-control,
.form-select {
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-text {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

/* Boutons */
.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0b5ed7;
    color: white;
}

.btn-reset {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-reset:hover {
    background-color: #5c636a;
    color: white;
}

/* Alertes */
.error-alert {
    border-left: 4px solid var(--danger-color);
}

.success-alert {
    border-left: 4px solid var(--success-color);
}

/* Modal */
.modal-header {
    background-color: var(--primary-color);
    color: white;
}

.modal-title {
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 20px 15px;
    }

    .custom-section {
        padding: 15px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    animation: fadeIn 0.5s ease-out;
}
/* --------------------- customer ---------------  */

nav.navbar {
    /* overflow: hidden; */
    /* background: linear-gradient(to right, #d9d2c5, #766f67); */
    background: linear-gradient(to right, #efc9c9, #766f67);
}

.logo-site {
    width: 100px;
    height: auto;
}