﻿:root {
    --primary-color: #0097A3
}

.c-primary {
    color: var(--primary-color) !important;
}

.session-card {
    border-radius: 5px;
    background-color: #F3F9F9;
}

.session-header {
    border-radius: 8px 8px 0 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.session-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    flex: 1;
}

.info-item {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

    .info-item span {
        font-size: 14px;
        color: #5B6363;
        margin-bottom: 4px;
        font-weight: 400;
    }

    .info-item h6 {
        font-weight: 600;
        font-size: 15px;
        color: #0097A3;
    }


.collapse-btn {
    background-color: #FFFFFF;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    border: none;
    color: #6c757d;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.triangle {
    width: 12px;
    height: 8px;
    background-color: #009688;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.collapse-btn[aria-expanded="false"] {
    transform: rotate(180deg);
}

.description-section {
    padding: 8px 12px;
    background-color: white;
    border-radius: 5px;
}

    .description-section p {
        color: #5B6363;
        font-weight: 400;
        font-size: 15px;
        margin: 0;
    }

.table-responsive {
    border-radius: 10px;
    overflow-x: scroll;
    overflow-y: hidden;
    display: block;
    border: 1px solid #DEE2E6;
}

    .table-responsive > .table-bordered {
        margin: -1px;
        width: calc(100% + 2px);
    }

.table thead tr th {
    background-color: #F7F7F7;
    color: #212529;
    font-weight: 600;
    font-size: 15px;
    vertical-align: middle;
    border-bottom: none;
}

.table > :not(caption) > * > * {
    /*padding: 13px 20px;*/
    padding: 5px 8px;
}

.table td {
    font-weight: 400;
    font-size: 15px;
    vertical-align: middle;
    color: #212529;
    background-color: #fff;
}

.status-conducted, .g-session-status.conducted {
    color: #0097a3 !important;
    font-weight: 600 !important;
}

.status-missed, .g-session-status.missed {
    color: #c5570d !important;
    font-weight: 600 !important;
}

.status-cancelled, .g-session-status.cancelled {
    color: #ff2828 !important;
    font-weight: 600 !important;
}

.status-booking, .status-upcoming, .g-session-status.upcoming {
    color: #20c997 !important;
    font-weight: 600 !important;
}

.g-session-status.not-booked {
    color: #a8afb6 !important;
    font-weight: 600 !important;
}

.booking-footer {
    /*background-color: white;*/
    padding: 20px 20px 20px 70px;
    margin-top: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.calculation {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.calc-text {
    font-size: 16px;
    color: #495057;
}

.calc-result {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-book-selected {
    background-color: #0097A3;
    border-color: #0097A3;
    padding: 10px 25px;
    font-weight: 500;
    color: #fff;
}

.btn-book-group {
    background-color: #0097A3;
    border-color: #0097A3;
    padding: 10px 25px;
    font-weight: 500;
    color: #fff;
}

.btn-start-session, .btn-book-single-session {
    background-color: var(--primary-color);
    width: 100px;
    height: 34px;
    border-radius: 5px;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    display: block;
    text-align: center;
    line-height: 34px;
    text-decoration: none;
}


.custom-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #20c997;
}

.sessionDescription .booking-footer {
    padding: 20px;
    justify-content: end;
}

    .sessionDescription .booking-footer .calculation {
        gap: 15px;
    }

@media (max-width: 991px) {
    .booking-footer {
        padding: 20px;
    }

    .calculation {
        flex-grow: 1;
        justify-content: space-between;
        border: none !important
    }
}

@media (max-width: 768px) {
    .session-header {
        flex-direction: column;
        align-items: stretch;
    }

    .session-info {
        justify-content: space-between;
    }

    .booking-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .calculation {
        justify-content: space-between;
    }
}
