/* =========================
   UNO TOUR CALENDAR v3
   ========================= */

.utc-toolbar{
    display:flex;
    align-items:center;
    gap:20px;
    margin:0 0 25px;
    flex-wrap:wrap;
}

.utc-toolbar select{
    padding:12px 16px;
    border:1px solid #dfe7db;
    border-radius:10px;
    background:#fff;
    font-size:15px;
    min-width:220px;
    color:#112904;
    font-weight:600;
}

.utc-toolbar label{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    color:#112904;
    cursor:pointer;
}

/* Внешняя карточка */

.uno-tour-calendar{

    width:100%;
    border-collapse:separate;
    border-spacing:0;

    background:#ffffff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
        0 8px 24px rgba(0,0,0,.06),
        0 2px 6px rgba(0,0,0,.04);

}

/* Шапка */

.uno-tour-calendar thead th{

    background:#112904;

    color:#fff;

    padding:18px 16px;

    text-align:left;

    font-size:14px;

    text-transform:uppercase;

    letter-spacing:.05em;

    font-weight:700;

    position:sticky;

    top:0;

    z-index:10;

}

/* Строки */

.uno-tour-calendar tbody td{

    padding:18px 16px;

    border-bottom:1px solid #edf2ea;

    vertical-align:middle;

    transition:all .2s ease;

}

/* Последняя строка */

.uno-tour-calendar tbody tr:last-child td{

    border-bottom:none;

}

/* Hover */

.tour-row{

    cursor:pointer;

    transition:all .25s ease;

}

.tour-row:hover{

    background:#f6faf3;

    transform:scale(1.002);

}

/* Название тура */

.tour-row td:nth-child(2) strong{

    display:block;

    color:#112904;

    font-size:16px;

    font-weight:700;

    line-height:1.4;

}

/* Label */

.utc-label{

    display:inline-block;

    margin-top:8px;

    padding:5px 10px;

    border-radius:30px;

    background:#e9f3e3;

    color:#112904;

    font-size:12px;

    font-weight:700;

    line-height:1;

}

/* Цена */

.uno-tour-calendar td:nth-child(5){

    font-size:18px;

    font-weight:700;

    color:#112904;

    white-space:nowrap;

}

/* Месяц */

.uno-tour-calendar td:first-child{

    font-weight:700;

    color:#112904;

    white-space:nowrap;

}

/* Дни и возраст */

.uno-tour-calendar td:nth-child(3),
.uno-tour-calendar td:nth-child(4){

    text-align:center;

    font-weight:600;

}

/* Статусы */

.utc-available{

    display:inline-block;

    padding:6px 12px;

    border-radius:30px;

    background:#e7f7e7;

    color:#1f7a1f;

    font-weight:700;

}

.utc-warning{

    display:inline-block;

    padding:6px 12px;

    border-radius:30px;

    background:#fff4d9;

    color:#b46b00;

    font-weight:700;

}

.utc-sold{

    display:inline-block;

    padding:6px 12px;

    border-radius:30px;

    background:#ffe3e3;

    color:#c62828;

    font-weight:700;

}

/* Чекбокс */

#utc-available-only{

    width:18px;
    height:18px;

    accent-color:#112904;
}

/* Скролл на мобильном */

@media (max-width:991px){

    .uno-tour-calendar{

        font-size:14px;

    }

    .uno-tour-calendar th,
    .uno-tour-calendar td{

        padding:14px 12px;

    }

}

@media (max-width:768px){

    .utc-toolbar{

        flex-direction:column;
        align-items:flex-start;

    }

    .utc-toolbar select{

        width:100%;

    }

    .uno-tour-calendar{

        display:block;
        overflow-x:auto;

    }

}

/* =====================================
   MOBILE VERSION
   ===================================== */

@media (max-width: 768px){

    .uno-tour-calendar,
    .uno-tour-calendar thead,
    .uno-tour-calendar tbody,
    .uno-tour-calendar th,
    .uno-tour-calendar td,
    .uno-tour-calendar tr{

        display:block;

    }

    .uno-tour-calendar thead{

        display:none;

    }

    .uno-tour-calendar{

        background:none;
        box-shadow:none;

    }

    .tour-row{

        background:#fff;

        margin-bottom:18px;

        border-radius:16px;

        overflow:hidden;

        box-shadow:
            0 4px 12px rgba(0,0,0,.08);

        padding:12px;

    }

    .tour-row td{

        border:none;

        padding:6px 0;

        text-align:left !important;

    }

    .tour-row td:first-child{

        color:#112904;

        font-size:14px;

        font-weight:700;

        text-transform:uppercase;

        margin-bottom:6px;

    }

    .tour-row td:nth-child(2){

        margin-bottom:10px;

    }

    .tour-row td:nth-child(2) strong{

        font-size:18px;

        line-height:1.4;

    }

    .tour-row td:nth-child(3)::before{

        content:"📅 Dienas: ";

        font-weight:600;

    }

    .tour-row td:nth-child(4)::before{

        content:"👤 Vecums: ";

        font-weight:600;

    }

    .tour-row td:nth-child(5)::before{

        content:"💰 Cena: ";

        font-weight:600;

    }

    .tour-row td:nth-child(6){

        margin-top:8px;

    }

}

/*.utc-toolbar{display:flex;gap:20px;align-items:center;margin:15px 0}
.uno-tour-calendar{width:100%;border-collapse:collapse}
.uno-tour-calendar th{background:#1e3a5f;color:#fff;position:sticky;top:0}
.uno-tour-calendar th,.uno-tour-calendar td{padding:12px;border-bottom:1px solid #ddd}
.tour-row{cursor:pointer}
.tour-row:hover{background:#f5f7fa}
.utc-label{font-size:12px;color:#1e3a5f;margin-top:4px}
