* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 20px 0;
}
header #site-name {
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px;
}

img {
    width: 60px;
    border-radius: 4px;
    height: auto;
}

form {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;

}


div#jour {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    width: -webkit-fill-available;
    max-width: 500px;
    margin: 10px 4vw;
    background-color: rgb(233, 233, 233);
    border-radius:8px;
    padding: 8px;



    >label {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;

    }
    >label>p {
        font-family: 'Lato', sans-serif;
        font-size: 12px;
        font-weight: 800;
        color: grey;
    }

    >label>div {
        background-color: lightgrey;
        border-radius: 4px;

        display: flex;

        height: 40px;
        width: 40px;
        justify-content: center;
        align-items: center;
        padding: 4px;

        cursor: pointer;

        >p {
            display: flex;
            font-family: 'Lato', sans-serif;
            font-size: 14px;
            font-weight: 800;
            color: black;

            height: 100%;
            width: 100%;
            text-align: center;
            justify-content: center;
            align-items: center;
        }
    }

    label > input:checked ~ div>p {
        background-color: #333;
        border-radius: 100px;
        color: white;
    }
    
}




select {
    appearance: none; /* Supprime le style par défaut */
    background-color: rgb(233, 233, 233);
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    width: 100%;
    max-width: 500px;
}

select:focus {
    border-color: #007bff;
    outline: none;
}

.custom-select {
    position: relative;
    width: -webkit-fill-available;
    max-width: 500px;
    font-size: 16px;
    margin: 10px 4vw;


}

.custom-select .selected {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background-color: rgb(233, 233, 233);
    /* border: solid 3px #333; */
    /* border: none; */
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;



    >span {
        flex: 1;
    }
}

.custom-select .selected ion-icon {
    margin-right: 8px;
    font-size: 24px;

        

}

.custom-select .options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;

    font-family: 'Lato', sans-serif;

    

}

.custom-select .option {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

.custom-select .option ion-icon {
    margin-right: 8px;
}

.custom-select .option:hover {
    background-color: #eee;
}




/* heure */
div#time {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    width: -webkit-fill-available;
    max-width: 500px;
    margin: 10px 4vw;
}

div#time>div {
    flex: 1;
}


label[for="debut"],
label[for="fin"] {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: grey;
}

input[type="time"] {
    appearance: none;
    background-color: rgb(233, 233, 233);
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    width: 100%;
    max-width: 500px;
    /* text-align: left;
    justify-content: left; */



}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}



input[type="time"]:focus {
    border-color: #007bff;
    outline: none;
}


button[type="submit"] {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: -webkit-fill-available;
    max-width: 500px;
    margin: 10px 4vw;

    transition: background-color 0.2s ease;

}
button[type="submit"]:hover {
    background-color: #555;
}