body {
    /* background: linear-gradient(135deg, #f9b702, #ffcc00); */
    font-family: 'Poppins', sans-serif;
    background-image: url("../bg_details3.jpg");
    background-size: 170%;
    background-repeat: no-repeat;
    background-size: cover
}

.card {
    background: rgba(165, 165, 165, 0.637);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    color: white;
    /* position: relative; */
    /* top:-80px; */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: linear-gradient(45deg, #f9b702, #d1bb60);
    padding: 20px;
    border-bottom: none;
}

a {
    color: #f9b702;
}

.card-header h2 {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-control,
.form-check-input {
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-check-input:focus {
    border-color: #f9b702;
    box-shadow: 0 0 0 0.2rem rgba(249, 183, 2, 0.25);
}

.btn-primary {
    background: linear-gradient(45deg, #f9b702, #ffcc00);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ffcc00, #f9b702);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 183, 2, 0.4);
}

.bg-tarif {
    background: linear-gradient(45deg, rgba(249, 183, 2, 0.8), rgba(255, 204, 0, 0.8));
    border-radius: 15px;
    transition: all 0.3s ease;
}

.bg-tarif:hover {
    transform: scale(1.03);
}

.error-message {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

/* Add some animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Improve form layout */
.form-label {
    font-weight: 500;
    color: white;
    margin-bottom: 5px;
}

/* Style dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.dropdown-item:hover {
    background-color: #f0f8ff;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .card-header {
        flex-direction: column;
        align-items: center;
    }

    .dropdown {
        margin-top: 10px;
    }
}

.error-message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
}

.error-message {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 0.5s ease-out, fadeOut 0.5s ease-out 5s forwards;
}

.error-message-icon {
    font-size: 24px;
    margin-right: 10px;
}

.error-message-content {
    flex-grow: 1;
}

.error-message-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.logo-space {
    width: 260px;
    height: 50px;
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.header2 {
    display: none
}

@media (max-width: 1109px) {
    .header2 {
        display: flex;
        align-items: center;
        padding: 10px;
        gap: 10px;
        opacity: 0.8;
    }

    .logo-space {
        display: none
    }
}