.standardPagePanel {
    color: #CB6BE6;
    position: relative;
}

/*TOOLBAR*/
#toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #222222;
    display: flex;
    flex-direction: row;
}

#toolbar-logo {
    width: 52px;
    height: 52px;
    margin: 4px;
    margin-left: 16px;
    margin-right: 16px;
    background-image: url('/img/ZST Logo.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

#toolbar-title {
    line-height: 52px;
    margin: 4px;
    height: 52px;
    flex: 1;
    text-align: left;
    font-size: 32px;
    user-select: none;     
    text-shadow: -2px 2px 1px #5d1073;   
}

#toolbar-links {
    margin: 4px;
    height: 52px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    user-select: none;
    display: flex;
}

.toolbar-link {
    margin-left: 16px;
    margin-right: 32px;
    font-size: 32px;
    transition: transform 0.3s ease;
    color: #CB6BE6;
    text-shadow: -2px 2px 1px #5d1073;
}

.toolbar-link:hover {
    transform: scale(1.2);
    color: #FD66C3;
    cursor: pointer;
}

/*PAGES*/
.hidden {
    display: none !important;
}

/*BACKGROUND*/
#background-panel {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    overflow: hidden;
    z-index: 1;
}

#background-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ffffff, #9603ff, #ff66c3);
    background-size: 200% 200%;
    animation: wave 3s ease infinite;
    opacity: 0.2;
    z-index: 1;
}

@keyframes wave {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/*LOADER*/
#loader-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-image {
    height: 50%;
    width: auto;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/*HOME*/
#objective-title {
    width: 100%;
    text-align: center;
    font-size: 48px;
    margin-top: 32px;
    margin-bottom: 32px;
    color: #FD66C3;
    text-shadow: -4px 4px 1px #5d1073;
    user-select: none;     
}

#objective-content {
    width: 80%;
    margin: auto;
    text-align: center;
    font-size: 24px;
    user-select: none;     
}

#recent-world-records-title {
    width: 100%;
    text-align: center;
    font-size: 48px;
    margin-top: 32px;
    margin-bottom: 32px;
    color: #FD66C3;
    text-shadow: -4px 4px 1px #5d1073;
    user-select: none;     
}

#recent-world-record-videos {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 2px solid #CB6BE6;
    padding: 16px;
    border-radius: 8px;
}

.video-container {
    width: 30%;
    margin: 16px 0;
    border: 2px solid #FD66C3;
    border-radius: 8px;
    padding: 8px;
    background-color: #383838;
}

.video-container iframe {
    width: 100%;
    height: 200px;
}

.video-info {
    text-align: center;
    color: #CB6BE6;
    font-size: 18px;
    margin-top: 8px;
}

.video-info .record-track {
    font-weight: bold;
    color: #FD66C3;
}

#discord-section {
    width: 80%;
    margin: 32px auto;
    text-align: center;
}

#discord-section h2 {
    color: #FD66C3;
    text-shadow: -2px 2px 1px #5d1073;
    font-size: 24px;
}

.discord-channel {
    display: inline-block;
    margin: 16px;
    text-align: center;
}

.discord-channel svg {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

.discord-channel svg:hover {
    cursor: pointer;
    transform: scale(1.2);        
}

.discord-channel svg path {
    fill: #CB6BE6;
    transition: fill 0.3s ease;
}

.discord-channel svg:hover path {    
    fill: #FD66C3;
}

.discord-channel span {
    display: block;
    margin-top: 8px;
    color: #FD66C3;
    text-shadow: -2px 2px 1px #5d1073;
    font-size: 18px;
}    

.content-panel {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
    overflow-y: auto;
    user-select: none;     
}    

/* RECORDS */
select {
    width: 200px;
    height: 40px;
    color: black;
    background-color: #FD66C3;
    border: 1px solid #5d1073;
    border-radius: 5px;
    font-size: 24px;
    line-height: 24px;
    padding: 5px;
    font-family: 'Righteous';
    font-weight: 300;
}

select option:nth-child(odd) {
    background-color: #303030;
    color: #FD66C3;
}

select option:nth-child(even) {
    background-color: #373737;
    color: #FD66C3;
}

#records-panel {
    padding-bottom: 32px;
    padding-left: 32px;
    padding-right: 32px;
}

#record-table-container {
    flex-grow: 1;
    margin-top: 16px;
    background-color: #222222;
    border-radius: 16px;
    padding: 16px;
    box-sizing: border-box;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
    border: 2px solid #CB6BE6;
}

#record-table-toolbar {
    margin-bottom: 16px;
}

#record-table-content {
    overflow-y: auto;
    flex-grow: 1;
}

.record-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.record-table th, .record-table td {
    padding: 8px;
    text-align: center;
    color: #fd66c3;
    font-size: 28px;
    vertical-align: middle;
}

.record-table th {
    background-color: #333;
    font-weight: bold;
}

.record-table tr:nth-child(odd) {
    background-color: #2c2c2c;
    border-bottom: 1px solid #444;
}

.record-table tr:nth-child(even) {
    background-color: #1e1e1e;
    border-bottom: 1px solid #444;
}

.level-image {
    width: 90px;
    height: 60px;
    background-size: cover;
    background-position: center;
}

.profile-pic {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic-img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #fd66c3;
}

.record-links a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
}

.record-links a:hover {
    text-decoration: underline;
}

/* TEAM */
#team-panel {
    padding-bottom: 32px;
    padding-left: 32px;
    padding-right: 32px;
}

#team-table-container {
    flex-grow: 1;
    margin-top: 16px;
    background-color: #222222;
    border-radius: 16px;
    padding: 16px;
    box-sizing: border-box;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
    border: 2px solid #CB6BE6;
    overflow-y: auto;
}

.team-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.team-table th, .team-table td {
    padding: 8px;
    text-align: center;
    color: #FD66C3;
    font-size: 28px;
    vertical-align: middle;
}

.team-table th {
    background-color: #333;
    font-weight: bold;
}

.team-table tr:nth-child(odd) {
    background-color: #2c2c2c;
    border-bottom: 1px solid #444;
}

.team-table tr:nth-child(even) {
    background-color: #1e1e1e;
    border-bottom: 1px solid #444;
}

.team-row:hover
{
    cursor: pointer;
    background-color: #32073e !important;
}

.team-pic {
    width: 90px;
    height: 60px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-pic-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #FD66C3;
    object-fit: cover;
}

.team-name {
    padding: 10px;
    font-weight: bold;
    color: #FD66C3;
    font-size: 24px;
    text-shadow: -2px 2px 1px #5d1073;
    vertical-align: middle;
}

.team-records {
    padding: 10px;
    color: #FD66C3;
    font-size: 18px;
}

.team-record-info {
    margin-bottom: 5px;
    color: #CB6BE6;
    font-size: 18px;
}

.detail-row {
    background-color: #333;
}

.hidden {
    display: none;
}

.detail-container {
    padding: 16px;
    background-color: #444;
    border: 1px solid #CB6BE6;
    border-radius: 8px;
}

/* RULES */
#rules-list {
    font-size: 24px;
    width: 75%;
    margin: auto auto;
}

.ruleID {
    color: #FD66C3;
    width: 100px;
}

.rules-table td, .rules-table th {
    padding: 8px;
}
