﻿
.jetlabel {
    align-content: center;
    align-self: center;
    margin: auto;
}

.grid-container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

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


.tabbutton {
    display: block;
    width: 100%;
    outline: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: 500;
    padding: 8px;
    border: medium;
    color: rgb(255, 255, 255);
    text-align: center;
    background-color: var(--header_bg);
    text-decoration: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

    .tabbutton:hover {
        background-color: var(--header_bg_hover);
    }


.selectedtabbutton {
    background-color: var(--btn_accent);
}

    .selectedtabbutton:hover {
        background-color: var(--btn_accent_hover);
    }

.guildselectionbutton {
    overflow: auto;
    width: 100%;
    cursor: pointer;
    padding: 5px;
    background-color: var(--header_bg);
    font-size: 20px;
}

    .guildselectionbutton:hover {
        background-color: var(--btn_accent);
    }

.box {
    border: 1px solid var(--text);
}

.sidebox {
    border-left: 1px solid var(--text);
    border-right: 1px solid var(--text)
}


.jetlabel {
    align-content: center;
    align-self: center;
    margin: auto;
}


.traps-grid-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
}

.blocked {
    display: none;
}

.final-grade {
    width: 15%;
    position: absolute;
    top: 5%;
    left: 5%;
    color: aliceblue;
    border-radius: 10%;
    text-align: center;
    margin: auto;
}

.grade-99 {
    text-decoration: underline;
}

.trap-pill {
    border-radius: 8%;
    width: 100%;
    padding: 8%;
    position: relative;
    background-color: transparent;
    transition: background-color 0.3s ease;
}


    .trap-pill:hover {
        background-color: var(--pill_bg);
        cursor: pointer;
    }

.trap-thumbnail {
    width: 100%;
    aspect-ratio: 4/3;
}

.lso-comment {
    position: absolute;
    bottom: 5%;
    left: 20%;
    border-radius: 10%;
    text-align: left;
    font-size: 12px;
    font-family: monospace
}

.pill {
    display: block;
    position: relative;
}

.graphselectionbutton {
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    background: rgba(89, 102, 136,0.0);
    border: none;
    border-radius: 10%;
}


.track-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.5);
}

    .track-modal .modal-dialog {
        margin-top: 3%;
        width: 80%;
        max-width: 80%;
        max-height: 90%;
        height: 90%;
        background-color: var(--graph_bg);
        border-radius: 6px;
        opacity: 0.95;
    }

    .track-modal .modal-content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 6px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }

    .track-modal .modal-body {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        overflow: hidden;
    }


    .track-modal .track-full-image {
        width: auto;
        height: auto;
        max-width: 100%;
        display: block;
        object-fit: contain;
        max-height:100%;
        margin: 0 auto;
    }

    .track-modal .track-data {
        position: absolute;
        height: auto;
        bottom: 1%;
        left: 30%;
        text-align: left;
        font-size: 16px;
        z-index: 10001;
        font-family: monospace
    }

@keyframes track-modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes track-modal-slide-out {
    to {
        opacity: 0;
        transform: translateY(-40px);
    }

    from {
        opacity: 1;
        transform: translateY(0);
    }
}

.track-modal.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.3s, opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
    .track-modal.hide .modal-dialog {
        animation: track-modal-slide-out 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

.track-modal.show {
    display: block
}

    .track-modal.show .modal-dialog {
        animation: track-modal-slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }


