*{
    margin: 0;
    padding: 0;
}

:root{
    --main-color: #f0f0f0;
    --color1: #E6AB8A;
    --color2: #CF8254;
    --color3: #AA4F18;
    --color4: #595959;
}

h1, h2, h3{
    font-family: "the-seasons", sans-serif;
    font-weight: 400;
    font-style: normal;
}

p, label{
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a{
    text-decoration: none;
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;
}

header{
    position: sticky;
    top: 0;
    width: 20%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-right: solid;
    z-index: 10;
}

header img{
    width: 10vw;
}

main{
    padding-left: 25%;
    position: absolute;
    top: 0;
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5vh;
    gap: 2vh;
}

.controls{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
}

h1{
    padding-bottom: 10vh;
}

.client{
    width: 90%;
    border: solid;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2vw;
    background-color: var(--color1);
}

.client button{
    padding: 1vh;
    border-radius: 10px;
    border: solid;
    background-color: white;
    color: black;
    font-size: 1vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.client button:hover{
    background-color: var(--color4);
    color: white;
}

.details{
    position: sticky;
}

.ajout{
    margin-bottom: 5vh;
    padding: 1vh;
    border-radius: 10px;
    border: solid;
    background-color: var(--color1);
    color: black;
    font-size: 1vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ajout:hover{
    background-color: var(--color4);
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 400px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content p {
    margin: 5px 0;
}

.close-btn {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

.filters{
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filters button{
    background: var(--color4);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.filters button.active{
    background: var(--color3);
}

/* Calendrier (si utilisé) */
.calendar {
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header button {
    background: var(--color1);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.3s;
}

.header button:hover {
    background: var(--color2);
}

.month {
    font-size: 1.6em;
    font-family: "the-seasons", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.weekdays, .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.weekdays div {
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
    background: #eaeaea;
    border-radius: 6px;
}

.days div {
    text-align: center;
    padding: 15px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.days div:hover {
    background: var(--color1);
    color: #fff;
}

.days .empty {
    background: transparent;
    cursor: default;
}

.today {
    background: var(--color4);
    color: #fff;
    font-weight: bold;
}
