/* Styles pour la modale de réservation */
.modal {
    z-index: 1050;
}

.modal-content {
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid #00ff9d;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    color: #fff;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1051;
}

.modal-dialog {
    z-index: 1052;
}

.cyber-form {
    position: relative;
    z-index: 1053;
}

.cyber-form .form-control {
    background-color: rgba(13, 17, 23, 0.8);
    border: 1px solid #00ff9d;
    color: #fff;
    padding: 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: text;
}

.cyber-form .form-control:focus {
    background-color: rgba(13, 17, 23, 0.9);
    border-color: #00ff9d;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
    color: #fff;
}

.cyber-form .form-label {
    color: #00ff9d;
    margin-bottom: 0.5rem;
    display: block;
}

.modal-header {
    border-bottom: 1px solid #00ff9d;
    padding: 1.5rem;
}

.modal-header .modal-title {
    color: #00ff9d;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.modal-header .btn-close {
    filter: invert(1) brightness(200%);
}

.modal-footer {
    border-top: 1px solid #00ff9d;
}

.cyber-button {
    background: transparent;
    border: 1px solid #00ff9d;
    color: #00ff9d;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cyber-button:hover {
    background: #00ff9d;
    color: #1a1f25;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
    transform: translateY(-1px);
}

.selected-pack-info {
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid #30363d;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.selected-pack-info h4 {
    color: #58a6ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.selected-pack-info .price {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.selected-pack-info .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selected-pack-info .features-list li {
    color: #c9d1d9;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.selected-pack-info .features-list li:before {
    content: "→";
    color: #58a6ff;
    margin-right: 0.75rem;
    font-weight: bold;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Animation d'entrée de la modale */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Assurer que les champs de saisie sont accessibles */
.modal-body {
    position: relative;
    z-index: 1060;
}

.cyber-form input,
.cyber-form textarea {
    position: relative;
    z-index: 2;
}

/* Style pour le bouton close du modal */
.modal .btn-close {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal .btn-close:hover {
    opacity: 1;
}

/* Assurer que la modale est au-dessus des autres éléments */
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
    background: rgba(13, 17, 23, 0.9);
}

.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    padding: 0;
}

.nav-link {
    color: #fff !important;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #00ff9d;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00ff9d !important;
}

.nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border-color: #00ff9d;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 255, 157, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ajustement du contenu pour la navbar fixed */
.content-wrapper {
    padding-top: 80px;
}

/* Animation au scroll */
@media (min-width: 992px) {
    .nav-link:hover {
        transform: translateY(-2px);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(13, 17, 23, 0.95);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Styles pour le nouveau modal */

.form-control {
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid #00ff9d;
    color: #fff;
    padding: 10px;
}

.form-control:focus {
    background: rgba(13, 17, 23, 0.9);
    border-color: #00ff9d;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.selected-pack-info {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid #00ff9d;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.selected-pack-info h4 {
    color: #00ff9d;
    margin-bottom: 10px;
}

.selected-pack-info .price {
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 10px;
}

.selected-pack-info .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selected-pack-info .features-list li {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.selected-pack-info .features-list li i {
    color: #00ff9d;
    margin-right: 8px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}
