/* ---------- STYLE GÉNÉRAL ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#eef2f7;
    color:#333;
    padding:30px;
}

h1{
    text-align:center;
    margin-bottom:30px;
    color:#0056b3;
}

h2{
    color:#0056b3;
    margin-bottom:15px;
}

.container{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

.box{
    flex:1;
    min-width:350px;
    background:white;
    border-radius:12px;
    padding:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

/* ---------- CHAMPS ---------- */

input,
select,
textarea{
    width:100%;
    padding:10px;
    margin:8px 0 15px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
}

textarea{
    resize:vertical;
}

/* ---------- BOUTONS ---------- */

button{
    background:#007bff;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#0056b3;
}

.delete{
    background:#dc3545;
}

.delete:hover{
    background:#b52b39;
}

.edit{
    background:#f39c12;
}

.edit:hover{
    background:#d68910;
}

.secondary{
    background:#28a745;
}

.secondary:hover{
    background:#1e7d34;
}

/* ---------- CARTES ---------- */

.card{
    background:white;
    border-left:5px solid #007bff;
    padding:18px;
    margin-bottom:15px;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.card h3{
    color:#007bff;
    margin-bottom:10px;
}

.card p{
    margin:5px 0;
}

.actions{
    margin-top:15px;
}

.actions button{
    margin-right:8px;
}

/* ---------- DISPONIBILITÉS ---------- */

.badge{
    display:inline-block;
    background:#007bff;
    color:white;
    padding:5px 10px;
    border-radius:20px;
    margin:4px;
    font-size:13px;
}

.badge button{
    background:none;
    color:white;
    border:none;
    margin-left:6px;
    cursor:pointer;
    padding:0;
}

/* ---------- BARRE DE RECHERCHE ---------- */

.search-box{
    background:white;
    padding:20px;
    border-radius:10px;
    margin-bottom:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.search-box input,
.search-box select{
    margin-bottom:10px;
}

/* ---------- LIENS ---------- */

a{
    color:#007bff;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

/* ---------- RESPONSIVE ---------- */

@media(max-width:900px){

.container{
    flex-direction:column;
}

.box{
    width:100%;
}

}