body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    padding-top: 70px;
}
.navbar {
    background-color: #222;
    color: #fff;
    padding: 1rem;
    font-size: 1.2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #fff;
}
.navbar-brand {
    font-weight: bold;
  
	color: #fff;
}

.navbar-toggler-icon {
    background-color: #ffca08;
}
.nav-item {
    margin: 0 10px;
}
.nav-link {
    color: #ffca08;
}
.parallax-hero {
    background-image: url('fondParallax.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}
.hero-section {
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 160px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;

}
.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0.8;
}
.textTitre {
    background-color: black;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
	width:100%;
}

.textTitre p {
    font-size: 1.5rem;

    z-index: 10;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}
.hero-bg-image {
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 800px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
.section-content {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}
.section-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}
.section-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    color: #555;
}
.section-content img {
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h1, h2, h3 {
    text-shadow: 2px 2px 3px #bbb;
    font-family: 'Montserrat', sans-serif;
}
form h3 {
    color: #fff;
}
.parallax-hero p {
    background-color: black;
    opacity: 0.8;
    padding: 10px;
    padding-left: 20px;
    width: 66%;
    font-size: 1.2rem;
}
.parallax-hero p:nth-child(even) {
    margin-left: 33%;
}
.hero-text {
    text-align: left;
    margin-top: 50px;
}
.coinRond {
    -moz-border-radius: 31px;
    -webkit-border-radius: 31px;
    border-radius: 31px;
}
.profile {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.profile img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: -90px auto 0;
    position: relative;
    left: 0;
    right: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.profile .content {
    padding: 20px 0 20px;
}
.profile .name {
    font-weight: bold;
    font-size: 20px;
    margin: 10px 0;
}
.profile .position {
    color: #333;
}
.profile .description {
    margin: 10px 0;
    color: #777;
	text-align:justify;
}
.partenaire {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}
.partenaire-map iframe {
    width: 100%;
    height: 400px;
}
.interactive-features {
    background-color: #222;
    color: #fff;
    padding: 50px 0;
    text-align: center;
	
}
.feature {
    display: inline-block;
    margin: 20px;
	width:90%;
}
.feature i {
    font-size: 36px;
}
.feature h3 {
    font-size: 24px;
    margin-top: 10px;
}
.feature p {
    font-size: 18px;
    text-align: justify;
}
.feature ul {
    text-align: left;
}
.protected {
    display: none;
}
.user-admin-bar {
    background: #222;
    color: #fff;
    position: fixed;
    top: 80px;
    right: 0;
    width: auto;
    z-index: 1029;
    height: 30px;
    overflow: hidden;
    transition: height 0.3s ease;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-left: 1px solid #fff;
    border-bottom: 3px solid #fff;
}
.user-admin-content {
    padding: 20px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
}
.user-info a {
    color: #fa071a;
    text-decoration: none;
}
.user-info a:hover {
    text-decoration: underline;
}
.admin-menu {
    display: none;
    text-align: right;
}
.admin-menu a {
    color: #ffca08;
    display: block;
    padding: 1px 0;
}
.toggle-user-admin {
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
}
.inscription-container {
    background: rgba(150, 150, 150, 0.2);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-top: 5rem;
    position: relative;
    z-index: 10;
}
.inscription-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}
.inscription-table {
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}
.inscription-table thead {
    background: rgba(40, 40, 40, 0.9);
}
.form-section {
    display: none;
    background: rgba(68, 68, 68, 0.6);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.form-title {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 1.8rem;
}
.form-group label {
    color: #fff;
}
.form-group small {
    color: #fff;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(85, 85, 85, 0.9);
    color: #ddd;
    border: 1px solid #666;
    transition: all 0.3s ease;
}
.form-group textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(50, 50, 50, 0.9);
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    outline: none;
}
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: rgba(85, 85, 85, 0.9);
    color: #ddd;
    border: 1px solid #666;
    opacity: 1;
    cursor: not-allowed;
}
.login-prompt {
    color: #ddd;
    text-align: center;
    margin-top: 1.5rem;
}
.login-prompt a {
    color: #ffca08;
}
.btn-primary {
    background: #1a1a1a;
    color: #ffca08;
    border: 1px solid #ffca08;
    box-shadow: 0 5px 10px rgba(255, 202, 8, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 12px 25px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #000;
    color: #ffca08;
    border: 1px solid #ffca08;
    box-shadow: 0 8px 20px rgba(255, 202, 8, 0.5);
    transform: translateY(-3px) rotate(2deg);
}
.btn-secondary {
    background: rgba(26, 26, 26, 0.6);
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 12px 25px;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) rotate(2deg);
}
.btn-delete, .btn-edit {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 20px;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.btn-delete {
    background: #fa071a;
    color: #fff;
    border: none;
    box-shadow: 0 3px 8px rgba(250, 7, 26, 0.4);
}
.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(250, 7, 26, 0.5);
}
.btn-edit {
    background: #ffca08;
    color: #1a1a1a;
    border: none;
    box-shadow: 0 3px 8px rgba(255, 202, 8, 0.4);
}
.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 202, 8, 0.5);
}
.btn-status-inscrit {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 20px;
    margin: 0 5px;
    background: #28a745;
    color: #fff;
    border: none;
    box-shadow: 0 3px 8px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}
.btn-status-inscrit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(40, 167, 69, 0.5);
}
.btn-status-inscrit:disabled {
    background: #1d7d35;
    box-shadow: none;
    cursor: not-allowed;
}
.btn-status-noninscrit {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 20px;
    margin: 0 5px;
    background: #6c757d;
    color: #fff;
    border: none;
    box-shadow: 0 3px 8px rgba(108, 117, 125, 0.4);
    transition: all 0.3s ease;
}
.btn-status-noninscrit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(108, 117, 125, 0.5);
}
.btn-status-noninscrit:disabled {
    background: #5a6268;
    box-shadow: none;
    cursor: not-allowed;
}
.table {
    color: #ddd;
    font-size: 0.95rem;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.table th, .table td {
    padding: 8px;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.05);
}
.short-input {
    max-width: 25%;
}
@media (max-width: 768px) {
    .short-input {
        max-width: 100%;
    }
}
.required-icon {
    color: #fa071a;
    margin-left: 5px;
}
.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.belt-container {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    overflow: hidden;
}
.belt-ribbon {
    font-size: 28px;
}
.belt-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 27px;
}
.inscription-user-admin-bar {
    background: rgba(34, 34, 34, 0.9);
}

/* Style pour le toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    vertical-align: middle;
    margin-left: 10px;
    cursor: pointer;
}
.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.toggle-switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #666;
    transition: 0.4s;
    border-radius: 34px;
}
.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
.toggle-switch input:checked + .slider {
    background-color: #ffca08;
}
.toggle-switch input:checked + .slider:before {
    transform: translateX(26px);
}
.toggle-switch input:disabled + .slider {
    background-color: #444;
    cursor: not-allowed;
}
.toggle-switch input:disabled:checked + .slider {
    background-color: #997700;
}

/* Modal styles spécifiques */
.modal {
    z-index: 1050; /* Augmenté pour être sûr que la modale est au-dessus du backdrop */
}
.modal-backdrop {
    z-index: 1040; /* Assure que le backdrop reste en dessous de la modale */
}
.modal-content.inscription-container {
    background: rgba(68, 68, 68, 0.6);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-title.inscription-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    width: 100%;
    text-align: center;
}
.modal-body {
    padding: 20px;
}
.modal-body .form-group label {
    color: #fff;
}
.modal-body .form-control {
    background: rgba(85, 85, 85, 0.9);
    color: #ddd;
    border: 1px solid #666;
    transition: all 0.3s ease;
}
.modal-body .form-control:focus {
    background: rgba(50, 50, 50, 0.9);
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.1);
}
.modal-footer.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Style pour les formulaires dans les modales */
.modal-form-container {
    background: #444; /* Gris foncé opaque, similaire à inscription-container mais sans transparence */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-form-container .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-form-container .modal-title.inscription-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    width: 100%;
    text-align: center;
}

.modal-form-container .modal-body {
    padding: 20px;
}

.modal-form-container .form-group label {
    color: #fff;
}

.modal-form-container .form-control {
    background: rgba(85, 85, 85, 0.9);
    color: #ddd;
    border: 1px solid #666;
    transition: all 0.3s ease;
}

.modal-form-container .form-control:focus {
    background: rgba(50, 50, 50, 0.9);
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.1);
}

.modal-form-container .modal-footer.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}