/* StaticForge Popup - Structural Styles */

/* Overlay: Covers the screen, centered content, hidden by default */
.sf-popup-overlay {
    user-select: none;
    display: none; /* Controlled by JS (flex when shown) */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* Basic dimming */
}

/* Content Container: The actual popup box */
.sf-popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
}

/* Close Button: Absolute positioned in top-right */
.sf-popup-content .close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #666;
}

.sf-popup-content .close-popup:hover {
    color: #000;
}
