﻿:root {
    --page-bg-light: #f6f7f9; /* page background */
    --panel-bg: #f7f8fa; /* dropdown background */
    --surface-white: #ffffff; /* white surfaces */
    --text-dark: #1a1a1a; /* main text */
    --link-blue: #2680eb; /* links */
    --gray-light: #e1e1e1; /* light gray */
    --primary-blue: #1f5fbf; /* apply button */
    --secondary-blue: #007bff; /* button blue */
    --secondary-blue-hover: #0056b3; /* button hover */
    --dim-gray: dimgrey; /* load button */
    --popup-bg: #f9f9f9; /* popup */
    --border-gray: #cccccc; /* borders */
    --black: #000000; /* black */
    --overlay-dark: rgba(0,0,0,.5); /* modal overlay */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--page-bg-light);
}

.page-root {
    width: 100%;
    padding: 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    height: 100%;
}

.page-welcome-section {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.page-title {
    font-weight: bold;
    font-size: 28px;
    margin: 0;
    color: var(--text-dark);
}

.page-desc {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

    .page-desc a {
        color: var(--link-blue);
        text-decoration: none;
    }

.page-welcome-section > button {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    background-color: var(--text-dark);
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
}

    .page-welcome-section > button:hover {
        /* background-color: #0078d4;*/
    }

.schedule-item {
    padding: 5px 10px 5px 20px;
    background-color: var(--surface-white);
}

.schedule-message {
    font-size: 20px;
    font-weight: bold;
    font-family: sans-serif;
    width: 100%;
}

.schedule-tutorial {
    font-size: 16px;
    font-weight: normal;
    font-family: sans-serif;
    padding-bottom: 20px;
}

.schedule-item p {
    margin: 0px;
}

.blankSpace {
    width: 100%;
    height: 30px;
}

tr.strikeout td:first-child:before {
    width: 46%;
}

.filters-wrapper {
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    -webkit-align-items: center;
    align-items: center;
}

.dropdown:not(.languageSelects) {
    background-color: var(--panel-bg);
    padding: 10px 20px;
    border-radius: 2px;
    display: flex;
    gap: 10px;
    line-height: 1;
    font-weight: 600;
    position: relative;
    display: block;
}

.dropdown-btn {
    color: var(--text-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    background-color: transparent !important;
    display: flex;
    gap: 10px;
}

.students {
    left: 50%;
    position: absolute;
    top: 9%;
}

.levels {
    left: 50%;
    position: absolute;
    top: 33%;
}

.schools {
    left: 50%;
    position: absolute;
    top: 57%;
}

.gender {
    left: 50%;
    position: absolute;
    top: 69%;
}

.reset {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    width: 210px;
}

.team, .externalSchedule {
    margin-top: 9px;
}

.apply-filter-btn {
    background-color: var(--primary-blue);
    border: none;
    color: var(--surface-white);
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    width: 210px;
}

button {
    display: inline-block;
    font-size: 18px;
    color: var(--surface-white);
    text-decoration: none;
    padding: 6px 38px;
    background-color: var(--theme-primary-color);
    font-weight: bold;
    border-radius: 4px;
    width: fit-content;
    outline: none;
    border: none;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 10px;
    -webkit-align-items: center;
    align-items: center;
    cursor: pointer;
}

.load-button {
    background-color: var(--dim-gray);
    display: inline-block;
    font-size: 18px;
    color: var(--surface-white);
    text-decoration: none;
    padding: 6px 38px;
    font-weight: bold;
    border-radius: 4px;
    width: fit-content;
    outline: none;
    border: none;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 10px;
    -webkit-align-items: center;
    align-items: center;
    cursor: pointer;
}

.secondChild {
    font-weight: normal !important;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--popup-bg);
    padding: 16px;
    border: 1px solid var(--border-gray);
    z-index: 1000;
    width: 700px;
    height: calc(100% - 30%);
    box-shadow: 0 0 0 50vmax var(--overlay-dark);
    overflow: auto;
}

    .popup .custom-header {
        text-align: end;
        width: 100%;
        margin-block: 1rem;
    }

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-dark);
    z-index: 999;
}

.checkbox-container {
    margin-bottom: 10px;
}

    .checkbox-container label {
        display: block;
        margin-bottom: 5px;
        cursor: pointer;
    }

    .checkbox-container input[type="checkbox"] {
        margin-right: 5px;
    }

.button-container {
    margin-top: 10px;
}

    .button-container button {
        padding: 8px 16px;
        margin-right: 10px;
        cursor: pointer;
        border: none;
        background-color: var(--secondary-blue);
        color: var(--surface-white);
        border-radius: 4px;
        outline: none;
    }

        .button-container button:hover {
            background-color: var(--secondary-blue-hover);
        }

.schedule-bottom-controls {
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 20px;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
}

.right-click {
    color: var(--black);
}

.rowSchedule {
    padding-top: 15px;
}

.closebtn {
    color: var(--black);
}

.notice-table-box {
    width: 100px;
    padding: 0px 10px;
}

.notice-date {
    width: 100px;
    padding: 0px 10px;
}

    .notice-date span {
        display: inline-block;
        text-align: center;
    }

.notice-action {
    min-width: 40px;
    padding: 0px 10px;
}

.table-wrapper {
    overflow-x: auto;
}

.district-notice-table-title {
    padding: 10px;
}

.district-notice-table {
    overflow-x: hidden;
}

.page-welcome-section-button {
    color: var(--surface-white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    background-color: var(--black) !important;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
}

@media (max-width: 1050px) {
    .page-title {
        font-size: 24px;
    }

    .page-desc {
        font-size: 18px;
    }
}

@media (max-width: 500px) {

    .district-notice-table-title {
        padding: 5px;
    }

    .table-title {
        font-size: 16px;
    }

    .filters-wrapper {
        gap: 10px;
    }
}

.multipleEvents span {
    cursor: default !important
}

.text-underline {
    text-decoration: underline;
}

.w-auto {
    width: auto;
}

.w-100 {
    width: 100% !important;
}

.popup .dropdown-content {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .popup {
        width: calc(100% - 10%);
    }

    button {
        width: 100% !important;
    }
}

.pl-0 {
    padding-left: 0px !important;
}

@media (max-width: 992px) {
    .pl-sm-0 {
        padding-left: 0 !important;
    }
}

.district-notice-table-title {
    flex-wrap: wrap;
    gap: 10px;
    white-space: nowrap;
}

    .district-notice-table-title > div {
        flex: 1;
    }

.filters-wrapper {
    justify-content: space-between !important;
}

@media (max-width: 1248px) {
    .count-message {
        text-align: end;
    }
}

@media (min-width: 584px) and (max-width: 1220px) {
    .count-message {
        text-align: center;
    }
}

.table-wrapper {
    white-space: nowrap;
}

    .table-wrapper td div {
        padding-right: 16px;
    }
