/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Druck Wide';
    src: url('../static/font/Druck/DrukWide-Bold-Cy-Web.woff2') format('woff2'),
    url('../static/font/Druck/DrukWide-Bold-Cy-Web.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

body {
    font-family: sofia-pro, sans-serif;
    background-color: #000025;
    color: #9B98DF;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.header-photo {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.header-photo img {
    height: 263px;
}

.header {
    text-align: center;
    margin: 0;
    padding: 80px 0 0;
}

.header span {
    font-family: 'Druck Wide', serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 42px;
    text-transform: uppercase;
    color: #fff;
}

.title-gradient {
    margin-left: 8px;
    background: linear-gradient(92deg, #773DFF 57.63%, #362FFF 99.26%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    /*color: linear-gradient(92deg, #773DFF 57.63%, #362FFF 99.26%) !important;*/
}

.header p {
    color: #9B98DF;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin-top: 16px;
}

.container {
    max-width: 1168px;
    margin: 20px auto 0;
    border-radius: 8px;
    padding: 36px 20px 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

/* Styles for Tabs */
.tabs-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.tabs-shell {
    width: 100%;
    display: grid;
    grid-template-columns: 35px 1fr 35px;
    align-items: stretch;
    margin-bottom: 25px;
}

.tabs-arrow {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tabs-container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    border-radius: 36px;
}

.tabs-container::-webkit-scrollbar {
    display: none;
}

.tabs-container.is-dragging {
    cursor: grabbing;
}

.tabs {
    display: flex;
    gap: 16px;
    width: max-content;
}


.tabs-wrapper::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

.tabs-wrapper::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    top: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transform: rotate(-182deg);
}

.tabs-wrapper.scrolled::before {
    opacity: 1;
}

.tab-links {
    display: flex;
    gap: 8px;
    background-color: #0E0E33;
    color: #9B98DF;
    padding: 4px 16px 4px 16px;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    border-radius: 32px;
}

.tab-links:hover {
    background-color: #231D56;
    color: white;
}

.tab-links.active {
    background-color: #231D56;
    color: white;
    box-shadow: none;
}

.tab-links.active svg path {
    fill: #773DFF;
}

.section {
    background-color: #0E0E33;
    padding: 32px 40px;
    border-radius: 16px 16px 0 0;
}

/*Drop down*/
.dropdown {
    position: relative;
    width: 250px;
    background: #231D56;
    border-radius: 5px;
    color: white;
    height: 40px;
}

.dropdown-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0 4px 16px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    height: 40px;
}

#search-box {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
}

.icon-container {
    width: 32px;
    height: 32px;
}

.arrow {
    position: absolute;
    right: 12px;
    bottom: 0;
    transition: transform 0.15s ease;
}

.arrow svg {
    fill: #9B98DF;
}

.dropdown.is-open .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    width: 100%;
    background: #231D56;
    border-radius: 5px;
    margin-top: 5px;
    list-style: none;
    padding: 5px;
    display: none;
    max-height: 558px;
    overflow-y: auto;
}

.dropdown-menu li {
    padding: 8px;
    cursor: pointer;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
}

.dropdown-menu li:hover {
    border-radius: 4px;
    background: #0E0E33;
}

.dropdown.is-open .dropdown-menu {
    display: block;
}


/* Filter form styling */
.filter-bar {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title {
    font-family: 'Druck Wide', serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    color: #F4F1FD;
    text-transform: uppercase;
}

.filter-form {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.filter-form label {
    margin-right: 10px;
    font-size: 16px;
    font-weight: 500;
}

.filter-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 8px;
    width: 250px;
    padding: 10px;
    border: 1px solid rgba(155, 152, 223, 0.20);
    border-right: 0;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 16px;
    color: #333;
}

.filter-form input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 150px;
    outline: none;
    color: #9B98DF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
}

.filter-form select:hover {
    cursor: pointer;
}

.filter-form .btn {
    border-radius: 25px;
    background-color: #0E0E33;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
}

.almanac-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.almanac-table th,
.almanac-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(155, 152, 223, 0.10);
}

.firstTr {
    padding-left: 0 !important;
}

.lastTr {
    padding-right: 0 !important;
    text-align: center !important;
}

.almanac-table th {
    color: #9B98DF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
}

.almanac-table tbody tr {
    color: #ffffff;
}

.almanac-table tbody tr td:first-child {
    padding-left: 0 !important;
}

.almanac-table td {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.almanac-table tbody tr:first-child {
    padding-left: 0 !important;
}

.status {
    padding: 4px 8px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    border-radius: 8px;
    color: #fff;
    display: block;
    text-align: center;
    width: 80px;
}

.status.scheduled {
    background-color: #cccccc;
}

.status.live {
    background-color: #41BC2C;
}

.status.ended {
    background-color: #0989FF;
}

.status.failed {
    background-color: #FF4E4E;
}

.score {
    font-size: 16px;
    font-weight: bold;
    color: #e74c3c;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loadMore {
    display: flex;
    margin: auto;
    width: 300px;
    padding: 12px 56px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    border-radius: 62px;
    background: #231D56;
    color: #ffffff;
    cursor: pointer;
}

.footer-text {
    margin-top: 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}


.buttons {
    display: flex;
    justify-content: space-between;
}

.cancel {
    background: #111;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.apply {
    background: linear-gradient(to right, #6a5acd, #8a5cfb);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.date-input {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    background: #231D56;
    color: #9B98DF;
    padding: 8px 16px 8px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
}

.cal-anchor {
    position: relative;
}

.cal-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: -148px;
    margin-top: 8px;
    background: #231D56;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 50;
}

[data-vc-theme="light"].vc {
    background-color: #231D56;
}


.btn {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
}

.btn-cancel {
    background: #251f47;
    color: white;
}

.btn-apply {
    background: linear-gradient(92deg, #773DFF 0%, #362FFF 100%);
    color: white;
    padding: 9px;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1320px;
    }
}

.clickable {
    cursor: pointer;
}

tr.clickable > td {
    cursor: pointer;
}

tr.clickable:hover > td {
    background-color: rgba(255, 255, 255, 0.04);
}


a {
    text-decoration: none;
}

li > a {
    text-decoration: none;
    display: block;
    color: white;
    width: 100%;
}

