/* =========================================================
   VUE SEMAINE
========================================================= */

.srav-week{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:18px;
    align-items:start;
}

.srav-day{
    background:#f6f7f7;
    border-radius:12px;
    padding:12px;
}

.srav-day-title{
    font-size:18px;
    font-weight:bold;
    margin-bottom:14px;
    text-transform:capitalize;
    position:sticky;
    top:0;
    background:#f6f7f7;
    padding-bottom:8px;
    z-index:5;
}

/* =========================================================
   CARTES
========================================================= */

.srav-card{
    border:1px solid #ddd;
    border-left:5px solid #2271b1;
    border-radius:10px;
    padding:12px;
    margin-bottom:12px;
    width:auto;
    display:block;
    box-sizing:border-box;
    transition:all 0.15s ease;
}

.srav-card:hover{
    transform:translateY(-2px);
}

.srav-title{
    font-weight:bold;
    font-size:15px;
    margin-bottom:6px;
}

.srav-time{
    font-size:13px;
    color:#444;
    margin-bottom:8px;
}

.srav-people{
    background:#ffffff80;
    padding:8px;
    border-radius:6px;
}

.srav-person{
    margin-bottom:4px;
}

.srav-unknown{
    color:#777;
    font-style:italic;
}

/* =========================================================
   COULEURS
========================================================= */

.srav-card-green{
    background:#dff5df;
}

.srav-card-orange{
    background:#ffe9c7;
}

.srav-card-red{
    background:#ffd6d6;
}

.srav-card-blue{
    background:#d6d6ff;
}

/* =========================================================
   BOUTON REMOVE
========================================================= */

.srav-remove{
    border:none;
    background:none;
    cursor:pointer;
    font-size:13px;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

    .srav-week{
        display:block;
    }

    .srav-day{
        background:none;
        padding:0;
        margin-bottom:20px;
    }

    .srav-day-title{
        position:static;
        background:none;
        margin-top:18px;
    }

    .srav-card{
        margin-left:0;
        margin-right:0;
    }
}