body{
    background-color: #fefefe;
}
.tv-page-header {
    background-color: #ffffff;
    padding: 1rem;
    color: #0a0913;
}

.tv-page-header a {
    color: #0e8e38;
    text-decoration: none;
}

.tv-title {
}

.main-title-text {
    font-size: 1.5rem;
}
.sub-title-text {
    font-size: 1rem;
}

.tv-footer {
    background-color: #e2e2e2;
    padding: 2rem;
}

.sticky {
    position: fixed;
    top: 0;
}


.marks-table td, .marks-table th{
    font-size: 1.2rem;
}
.marks-table th[scope="col"]{
    font-size: 1rem;
}
.marks-table th[scope="col"].small{
    font-size: 0.8rem;
}

.tour-button-label:hover{
    color: #198754;
    border-color: #198754;
    background-color: transparent;
}

.custom-radio:checked~.custom-radio-label::before {
    color: #fff;
    border-color: #7B1FA2;
}

.custom-radio:checked~.custom-radio-label.red::before {
    background-color: red;
}

.custom-radio:checked~.custom-radio-label.green::before {
    background-color: green;
}

#current td, #current th {
    background-color: var(--bs-warning);
}

.main-tv-container {
    background-color: #efefef;
}

.sessions-page-main {
    display: flex;
    flex-direction: column;
    align-items:stretch;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    min-height: 100vh;
}

.sessions-page-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-left:0;
    padding-right:0;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}


.sessions-page-block.client {
    background-color: #f4f7fb;
    color: #1f2937;
}

.sessions-page-block h2,
.sessions-page-block img {
    align-self: center;
}
.session-name.client {
    color: #0f172a;
    font-weight: 600;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.session-groups,
.session-groups.client {
    color: #334155;
    line-height: 1.15;
    font-weight: 400;
}

.sessions-body-bg {
    background: linear-gradient(180deg, #f5f8fb 0%, #eef3f9 100%);
}

.sessions-page-shell {
    padding: 1rem 0;
}

.sessions-page-main {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2, 12, 27, 0.06);
    overflow: hidden;
}

.sessions-share-note-wrap {
    padding: 0 1rem;
}

.sessions-share-note {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: #27354a;
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
}

.sessions-share-note-divider {
    border-left: 1px solid #b8c5d8;
}

.sessions-admin-tools {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #f8fafc;
}

.sessions-password-table th,
.sessions-password-table td {
    padding: 0.15rem 0.45rem;
}

.sessions-qr-section {
    margin: 1rem;
    margin-top: 0.25rem;
    padding: 1rem;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #f8fafc;
}

.sessions-qr-image {
    width: 150px;
    border: 1px solid #d7e0eb;
    border-radius: 10px;
    background: #fff;
    padding: 0.35rem;
}

.sessions-qr-warning {
    color: #b42318;
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
    margin-top: 0.65rem;
}

.session-item-card {
    margin: 0.5rem 0.75rem;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #eef2f7;
}

.session-item-groups {
    color: #556274;
    max-height: 6em;
    overflow: auto;
    margin-top: 0.45rem;
}

.session-admin-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.2;
}

.session-admin-main-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    flex: 1 1 20rem;
    min-width: 18rem;
}

.session-admin-main-link a {
    color: #0d56d8;
}

.session-admin-controls {
    margin-left: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.session-admin-visibility {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.05;
    font-size: 0.9rem;
}

.session-admin-visibility .form-check-input {
    margin-top: 0;
}

.session-create-card {
    margin: 0.75rem;
    border: 1px solid #c8d7eb;
    border-radius: 10px;
    background: #f3f8ff;
}

.sessions-admin-note {
    margin: 0.75rem !important;
    border-radius: 10px;
    border-color: #f8d488;
}

.sessions-client-title {
    color: #1f2937;
    background: #ffffff;
    font-size: 1.4rem;
    border-bottom: 1px solid #e4eaf3;
}

.session-client-card {
    margin: 0.65rem 0.75rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e3eaf4;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 12, 27, 0.04);
}

.session-client-open-link {
    font-size: 0.95rem;
    font-weight: 700;
    background: #e9f2ff;
    color: #0b4a9b !important;
    min-width: 4rem;
    justify-content: center;
    border-left: 1px solid #d8e6fb;
}

.session-client-open-link:hover {
    background: #dce9fb;
    color: #083d83 !important;
}

.session-row.client .session-groups.client {
    background: #f8fbff;
    border-top: 1px dashed #d7e2ef;
    padding: 0.75rem 0.9rem 0.95rem;
}

.session-client-name {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.25;
}

.session-client-date,
.session-client-time {
    color: #1e3a8a;
    font-weight: 700;
}

.session-client-open-link .bi {
    font-size: 1.2rem;
    line-height: 1;
    vertical-align: middle;
}

.session-row.client .session-name.client > div:first-child,
.session-row.client .session-name.client > div:nth-child(2) {
    color: #1e3a8a;
    font-weight: 700;
}

@media (max-width: 768px) {
    .session-name.client {
        font-weight: normal;
    }
}

