/* Réinitialisation de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Arrière-plan global inspiré de l'espace profond */

/* Arrière-plan global modifié avec votre image */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    
    /* --- MODIFICATIONS ICI --- */
    background-image: url('images/star-wars.jpg'); /* Remplacez par le nom exact de votre image */
    background-size: cover;       /* Permet à l'image de couvrir tout l'écran */
    background-position: center;  /* Centre l'image en arrière-plan */
    background-repeat: no-repeat; /* Évite que l'image ne se répète en mosaïque */
    background-attachment: fixed; /* Laisse le fond fixe si vous faites défiler la page */
}

/* Le reste de votre fichier style.css reste inchangé */
.container {
    background: rgba(15, 15, 25, 0.85); /* Conserve l'effet de transparence pour lire le texte */
    border: 2px solid #ffe81f; 
    box-shadow: 0 0 25px rgba(255, 232, 31, 0.3);
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    padding: 40px 30px;
}


/* Conteneur principal avec effet verre dépoli */
.container {
    background: rgba(15, 15, 25, 0.85);
    border: 2px solid #ffe81f; /* Couleur jaune iconique Star Wars */
    box-shadow: 0 0 25px rgba(255, 232, 31, 0.3);
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    padding: 40px 30px;
}

/* En-tête stylisé */
.star-wars-header {
    text-align: center;
    margin-bottom: 30px;
}

.title-main, .title-sub {
    font-weight: 900;
    letter-spacing: 6px;
    line-height: 0.9;
}

.title-main {
    font-size: 3rem;
    color: #ffffff;
}

.title-sub {
    font-size: 2.5rem;
    color: #ffe81f;
    margin-bottom: 15px;
}

.tagline {
    font-style: italic;
    font-size: 0.95rem;
    color: #a0a5b5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

/* Groupes du formulaire */
.form-group {
    margin-bottom: 22px;
}

label, legend {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffe81f;
    font-size: 0.95rem;
}

fieldset {
    border: none;
}

/* Inputs, icônes et zone de texte */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.icon {
    position: absolute;
    left: 12px;
    font-size: 1.1rem;
    opacity: 0.7;
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

textarea {
    padding-left: 15px; /* Pas d'icône pour la zone de texte */
    resize: vertical;
}

/* Effets de focus interactifs */
input:focus, textarea:focus {
    outline: none;
    border-color: #ffe81f;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 8px rgba(255, 232, 31, 0.5);
}

/* Options des boutons radios */
.radio-options {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    color: #ffffff;
}

.radio-label input {
    margin-right: 8px;
    accent-color: #ffe81f; /* Colore le bouton radio standard natively */
}

/* Bouton d'action massif (Style Empire / Sith modéré) */
.btn-submit {
    width: 100%;
    padding: 15px;
    background: #8b0000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.btn-submit:hover {
    background: #b30000;
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(1px);
}
