/* space-theme.css */
body {
    background-color: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Fond spatial avec étoiles */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
}

/* Création des étoiles */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stars:before, .stars:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 25px 5px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 50px 25px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 125px 20px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1.5px 1.5px at 50px 75px, white, rgba(255, 255, 255, 0)),
        radial-gradient(2px 2px at 175px 125px, white, rgba(255, 255, 255, 0)),
        radial-gradient(2.5px 2.5px at 200px 175px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 250px 225px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 300px 275px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 350px 325px, white, rgba(255, 255, 255, 0));
    background-repeat: repeat;
    background-size: 350px 350px;
    animation: twinkle 5s ease infinite;
}

.stars:after {
    background-size: 250px 250px;
    animation-delay: 1.5s;
}

@keyframes twinkle {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* Conteneurs principaux */
.container-fluid {
    padding: 2rem;
}

.main-container {
    background-color: rgba(10, 10, 20, 0.8);
    border-radius: 10px;
   
    box-shadow: 0 0 20px rgba(0, 100, 255, 0.2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

}

/* En-tête */
header {
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(100, 100, 255, 0.3);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(100, 200, 255, 0.8);
}

/* Navigation */
.nav-link {
    color: rgba(200, 220, 255, 0.8);
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: #fff;
    background-color: rgba(100, 100, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #fff;
    background-color: rgba(100, 100, 255, 0.3);
}

/* Boutons */
.btn-space {
    background: linear-gradient(45deg, #3498db, #8e44ad);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(100, 150, 255, 0.4);
}

.btn-space:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(100, 150, 255, 0.6);
}

/* Formulaires */
.form-control, .form-select {
    background-color: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(100, 150, 255, 0.3);
    color: #fff;
    border-radius: 5px;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(30, 30, 60, 0.7);
    border-color: rgba(100, 150, 255, 0.6);
    box-shadow: 0 0 10px rgba(100, 150, 255, 0.3);
    color: #fff;
}

.form-label {
    color: rgba(200, 220, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Cartes */
.card {
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(100, 150, 255, 0.4);
}

.card-header {
    background-color: rgba(30, 30, 60, 0.8);
    border-bottom: 1px solid rgba(100, 150, 255, 0.3);
    color: #fff;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Tableau */
.table {
    color: #fff;
}

.table thead th {
    background-color: rgba(30, 30, 60, 0.8);
    border-color: rgba(100, 150, 255, 0.3);
    color: rgba(200, 220, 255, 0.9);
}

.table tbody td {
    border-color: rgba(100, 150, 255, 0.2);
    background-color: rgba(20, 20, 40, 0.5);
}

.table-hover tbody tr:hover {
    background-color: rgba(40, 40, 80, 0.6);
}

/* Badges */
.badge-space {
    background: linear-gradient(45deg, #3498db, #8e44ad);
    color: white;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

/* Wizard de formulaire */
.form-wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.form-wizard-steps:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(100, 150, 255, 0.3);
    transform: translateY(-50%);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    background-color: rgba(20, 20, 40, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid rgba(100, 150, 255, 0.3);
    transition: all 0.3s ease;
}

.step-item.active {
    background: linear-gradient(45deg, #3498db, #8e44ad);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(100, 150, 255, 0.6);
}

.step-item.completed {
    background-color: rgba(30, 200, 100, 0.3);
    border-color: rgba(30, 200, 100, 0.6);
}

.step-title {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(200, 220, 255, 0.8);
}

/* Animation de compte à rebours */
.countdown {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(20, 20, 40, 0.7);
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
    min-width: 80px;
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(100, 200, 255, 0.8);
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(200, 220, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(100, 100, 255, 0.3);
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 992px) {
    .container-fluid {
        padding: 1rem;
    }
    
    .main-container {
        padding: 1.5rem;
    }
    
    .form-wizard-steps {
        overflow-x: auto;
        padding-bottom: 2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .step-item {
        width: 35px;
        height: 35px;
    }
    
    .step-title {
        font-size: 0.7rem;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 0.5rem;
    }
    
    .main-container {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .btn-space {
        padding: 0.5rem 1rem;
    }
    
    .step-item {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}