/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    height: 100vh;
    background: linear-gradient(135deg, #0e141b, #1b2838);
    color: white;
    font-family: "Segoe UI", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CONTAINER GLOBAL */
#step1, #step2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD */
form, #step2 {
    width: 360px;
    background: rgba(27, 40, 56, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    text-align: center;
}

/* TITRES */
h2 {
    position: absolute;
    top: 40px;
    font-size: 28px;
    color: #66c0f4;
}

h3 {
    margin-bottom: 20px;
    color: #c7d5e0;
}

/* INPUTS */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #0e141b;
    color: white;
    font-size: 14px;
    transition: 0.2s;
}

input:focus {
    border: 1px solid #66c0f4;
    box-shadow: 0 0 8px rgba(102, 192, 244, 0.5);
}

/* BOUTONS */
button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: linear-gradient(90deg, #5ba32b, #6ccf2f);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    color: white;
    transition: 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 163, 43, 0.5);
}

/* STEP 2 CONTAINER */
#step2 {
    width: 360px;
    background: rgba(27, 40, 56, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* TITRE */
#step2 h3 {
    margin-bottom: 20px;
    text-align: center;
}

/* CONTAINER GLOBAL AVATAR */
.avatar-container {
    display: grid;
    grid-template-columns: repeat(2, 90px);
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* AVATAR */
.avatar {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
    object-fit: cover;
}

/* HOVER */
.avatar:hover {
    transform: scale(1.05);
    border: 2px solid #66c0f4;
}

/* SELECTION */
.avatar.selected {
    border: 3px solid #66c0f4;
    box-shadow: 0 0 10px rgba(102, 192, 244, 0.6);
}

/* BOUTON */
#finishBtn {
    width: 100%;
}