﻿



.inventory-toolbar {
    position: absolute;
    left: 60.5%;
    top: 81.5%;
    width: 30%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2%;
}

/* ShipSettingsModal.razor */

.inventory-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-self: center;
    justify-self: center;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 100;
    gap: 8px;    
}

.ship-settings-modal {
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 50px;
    width: 1000px;
    height: 642px;
    background-image: url('../images/backgrounds/options_background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid lightsteelblue;
    position: relative;
}

.ship-settings {
    color: ghostwhite;
    padding: 2rem;
    text-align: center;
    align-content: center;
    justify-items: center;
    gap: 1rem;
}

.ship-settings-row {
    margin: 1rem;
}

.ship-btn {
    color: ghostwhite;
    background: black;
    width: 100px;
    height: 40px;
    border-radius: 10px;
}

    .ship-btn.ship-btn-connect {
        border: 2px solid lightgreen;
    }

    .ship-btn.ship-btn-disconnect {
        border: 2px solid red;
    }

.options-panel {
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

/* ItemTracker.razor */


.song-name-display {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 170px;
    text-align: center;
    color: ghostwhite;
    font-size: 0.85rem;
}


/* GLITCH MODAL */
.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.video-modal {
    position: relative;
    width: 70vw;
    max-width: 960px;
    background: #111;
    border-radius: 8px;
    padding: 16px;
}

.video-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.video-modal-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.video-items-column {
    flex: 0 0 240px;
    color: white;
    max-height: 60vh;
    justify-items: center;
    overflow-y: auto;
    padding-right: 8px;
}

.video-wrap {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.video-aspect {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

    .video-aspect .player-host {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

        .video-aspect .player-host iframe {
            width: 100% !important;
            height: 100% !important;
            display: block;
        }

.share-wrapper {
    display: flex;
    flex-direction: row;
    object-fit: contain;
    align-items: center;
    justify-self: flex-end;
    color: lightsteelblue;
    border: 2px solid lightsteelblue;
    border-radius: 5px;
    padding: 4px;
    gap: 10px;
    cursor: pointer
}

.share-button {
    width: 25px;
    height: 25px;
    object-fit: contain;
    position: relative;
    left: 10px;
    cursor: pointer;
}

/* TOAST */

.toast-container {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-right: 1rem;
    align-items: flex-end;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    cursor: pointer;
    animation: toastIn 0.25s ease;
    white-space: nowrap;
}

.toast-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.toast-text {
    line-height: 1;
}

.toast-info {
    border-color: steelblue;
}

.toast-success {
    border-color: #26b050;
}

.toast-warning {
    border-color: #d4a017;
}

.toast-error {
    border-color: #b32121;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

