/* Main Stylesheet - imports all components */

/* Import base styles and utilities */
@import url('components/base.css');

/* Import UI Components */
@import url('components/forms.css');
@import url('components/dialog.css');
@import url('components/controls.css');
@import url('components/tooltip.css');

/* Game Info styles are already in game-detail.css */
#game-info {
    background: transparent;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    color: #FFF;
    left: 50%;
    max-width: 400px;
    overflow: hidden;
    padding: 0;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 100;
}

#game-info.hidden, #add-game-form.hidden, #checkout-dialog.hidden {
    display: none !important;
}

/* TV overlay styles removed as they're no longer being used */

.currently-viewing {
    background-color: rgb(0 0 0 / 70%);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
    color: white;
    font-family: "Arial", sans-serif;
    font-size: 16px;
    left: 20px;
    padding: 10px 15px;
    pointer-events: none;
    position: fixed;
    top: 20px;
    z-index: 1000;
}

/* Fixed position buttons */
.fixed-buttons {
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    left: 20px;
    position: fixed;
    z-index: 201;
}

.fixed-button {
    background: rgb(10 10 10 / 98%);
    border: 2px solid rgb(255 255 255 / 20%);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 80%);
    color: white;
    cursor: pointer;
    font-family: "Arial", sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    white-space: nowrap;
    width: auto;
}

.fixed-button:hover {
    background: rgba(50, 50, 50, 0.98);
    box-shadow: 0 10px 30px rgb(0 0 0 / 90%);
    border-color: rgb(255 255 255 / 30%);
}

#instructions-button {
    bottom: 20px;
    display: block !important;
    left: 20px;
    position: fixed;
}

#return-to-default {
    bottom: 70px;
    display: block !important;
    left: 20px;
    position: fixed;
}

/* Dialog styles */
.dialog-overlay {
    align-items: center;
    background: rgb(0 0 0 / 80%);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 1000;
}

/* Dialog content styles are now defined in dialog.css */

/* Close button styles are now defined in dialog.css */

/* Instructions overlay specific styles are now in dialog.css */
#instructions-overlay.hidden {
    display: none !important;
}

/* Instructions dialog uses the standardized close button style from dialog.css */

/* Both instructions buttons (help desk and fixed) should have the same styling */
#show-instructions, .instructions-button {
    background: rgb(10 10 10 / 98%);
    border: 2px solid rgb(255 255 255 / 20%);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 80%);
    color: white;
    cursor: pointer;
    font-family: "Arial", sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 25px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

#show-instructions:hover, .instructions-button:hover {
    background: rgba(50, 50, 50, 0.98);
    box-shadow: 0 10px 30px rgb(0 0 0 / 90%);
    transform: translateY(-2px);
    border-color: rgb(255 255 255 / 30%);
}

/* Mobile-specific dialog adjustments are now in dialog.css */

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .fixed-buttons {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        width: 95%;
        justify-content: center;
    }

    .fixed-button {
        font-size: 12px;
        padding: 8px 12px;
        white-space: normal;
        text-align: center;
        width: 48%;
    }

    #instructions-button,
    #return-to-default {
        position: static;
        display: inline-block !important;
    }
}