/* Réinitialisation de certains styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1e1e2f;
}

/* Conteneur principal */
.inscription_body {
    display: flex;
    flex-direction: column;
    background: #1e1e2f;
    color: white;
    min-height: 100vh;
}

/* Formulaire principal */
.container {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    width: 100%;
    border-radius: 15px;
    padding: 30px;
    color: white;
}

.second-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 60px;
    flex-wrap: wrap;
}

.form-container {
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    margin-top: 20px;
    min-width: 300px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-container-second {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 20px;
    min-width: 300px;
    flex: 1;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Styles pour les selects */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232d3748' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    color: #2d3748;
}

/* Styles pour les boutons */
button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

button:active {
    transform: translateY(0);
}

.button-submit-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.button-submit-section button {
    width: 200px;
    min-width: 150px;
}

.back-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
}

/* Styles pour les labels */
label {
    display: block;
    margin-bottom: 0.8rem;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Styles pour les inputs et selects */
input, select {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
}

input:focus, select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

input::placeholder {
    color: #a0aec0;
}

input:focus::placeholder {
    opacity: 0;
    transform: translateX(10px);
}

/* Zone de dépôt pour l'image */
.drop-zone {
    border: 2px dashed #007BFF;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    background-color: rgba(0, 177, 255, 0.1);
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.drop-zone:hover {
    background-color: rgba(0, 177, 255, 0.15);
    border-color: #00b1ff;
}

.drop-zone-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.drop-zone-button button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    width: auto;
}

.drop-zone-button .nuage {
    display: flex;
    align-items: center;
}

.drop-zone-button p {
    margin: 0;
    font-size: 1rem;
}

/* Prévisualisation de l'image */
#image-preview {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#preview-img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Section description */
.description {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Titres */
.inscription_body h1 {
    color: white;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 3.5rem;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

h2 {
    color: white;
    margin-bottom: 20px;
    margin-top: 30px;
    font-size: 1.5rem;
}

/* Section formulaire */
.form-submit {
    padding: 30px 20px;
}

.form-group {
    margin-bottom: 20px;
}

/* Animations d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeIn 0.5s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

/* Section description - Liste des avantages */
.desc {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.descit {
    display: flex;
    background-color: rgba(0, 177, 255, 0.15);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007BFF;
    transition: all 0.3s ease;
}

.descit:hover {
    background-color: rgba(0, 177, 255, 0.2);
    transform: translateX(5px);
}

.descit strong {
    color: white;
    line-height: 1.6;
}

/* Section à éviter */
.evit {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

/* Design responsive */
@media (max-width: 968px) {
    .second-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .form-container,
    .form-container-second {
        width: 100%;
    }
    
    .button-submit-section {
        flex-direction: column;
    }
    
    .button-submit-section button {
        width: 100%;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    .form-container,
    .form-container-second {
        padding: 20px;
    }
    
    .description {
        padding: 15px;
    }
}