@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500&display=swap");

/**** Reset ****/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    font-family: "Poppins", sans-serif;
}

/**** Style général de la page ****/

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff00ff;
}

.container {
    width: 350px;
    height: 400px;
    margin: 8% auto;
    background-color: #ffffff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}

h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #777777;
}

.container form {
    width: 280px;
    position: absolute;
    top: 100px;
    left: 40px;
    transition: all 0.4s ease-in-out;
}

form input {
    width: 100%;
    padding: 10px 5px;
    margin: 5px 0;
    border-bottom: 1px solid #999999;
    background-color: transparent;
}

form input[type="number"] {
    appearance: none;
    -moz-appearance: textfield; /* Suppression des flèches de l'input number sur Mozilla */
}

/* Suppression des flèches de l'input number sur Chrome */
form input[type="number"]::-webkit-inner-spin-button,
form input[type="number"]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0;
}


form input::placeholder {
    color: #777777;
}

.btn__box {
    width: 100%;
    margin: 30px auto;
    text-align: center;
}

form button {
    width: 110px;
    height: 35px;
    margin: 0 10px;
    background-color: #ffd700;
    border-radius: 30px;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 500;
    transition: transform 0.3s ease-in-out;
}

form button:hover {
    transform: scale(1.03);
}

#form--2 {
    left: 450px;
}

#form--3 {
    left: 450px;
}

.step__row {
    width: 360px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-shadow: 0 -1px 5px -1px #000000;
    position: relative;
}

.step__col {
    width: 120px;
    text-align: center;
    color: #333333;
    position: relative;
}

#progress {
    position: absolute;
    width: 120px;
    height: 100%;
    background-color: #25fde9;
}

small {
    color: #ffffff;
    font-size: 0.8em;
    font-weight: 500;
}

#progress::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #25fde9;
}
