/* Popup styles for game notifications */

/* Base popup styles shared by all popups */
.game-popup {
    position: fixed;
    top: 120px;
    left: 20px;
    right: 20px;
    display: table; /* Shrinks to fit content */
    max-width: 600px; /* Reasonable max width for readability */
    margin: 0 auto; /* Center within the left/right constraints */
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    border: 2px solid #4caf50;
    z-index: 10000;
    /* font-family now set globally in fonts.css */
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
}

/* Intro popup - rendered as part of footer content */
#intro-popup {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    border: 2px solid #4caf50;
    /* font-family now set globally in fonts.css */
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 15px; /* Space above footer content */
    order: -1; /* Ensure it appears before other footer content */
    margin-left: 20px; /* Add side margins like bottom margin */
    margin-right: 20px;
    max-width: 768px;
}

/* Intro popup heading */
#intro-popup h3 {
    margin: 0 0 10px 0;
    color: #4caf50;
}

/* Intro popup paragraph */
#intro-popup p {
    margin: 0 0 10px 0;
}

/* Intro popup content sections */
#intro-popup .intro-header {
    margin-bottom: 15px;
}

#intro-popup .intro-controls {
    text-align: left;
    margin-bottom: 15px;
    font-size: 12px;
}

/* Popup buttons */
.popup-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
}

.popup-btn:hover {
    background: #45a049;
}

/* Larger button for intro popup */
#intro-close-btn {
    padding: 8px 16px;
}
