/* ════════════════════════════════════════
   팝업 (메인 화면 오버레이 / 윈도우창 형태)
   ════════════════════════════════════════ */

.popup-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 99999;
}

.popup {
    position: absolute;
    background: #fff;
    border: 1px solid #1a252f;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.popup-head {
    background: #1a252f;
    color: #fff;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
}

.popup-body {
    flex: 1;
    padding: 12px;
    overflow: auto;
}

.popup-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.popup-content {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.popup-foot {
    background: #f8f9fa;
    border-top: 1px solid #e7e9ec;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.popup-today-btn,
.popup-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 10px;
    color: #2c3e50;
    font-size: 12px;
}

.popup-today-btn { color: #888; }
.popup-close-btn { font-weight: 600; }
