@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 600px;
    border-radius: 8px;
    padding: 40px;
}

.main-content h1 {
    color: #333;
    margin-bottom: 20px;
}

.main-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 팝업 오버레이 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-overlay.hidden {
    display: none;
}

/* 팝업 컨테이너 */
.popup-container {
    background: white;
    width: 565px;
    max-width: 90vw;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 팝업 헤더 */
.popup-header {
    padding: 30px 30px 0 30px;
    position: relative;
}

.popup-logo {
    color: #ff6b35;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.popup-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* 팝업 본문 */
.popup-body {
    padding: 0 30px 30px 30px;
}

.notice-box {
    background-color: #e8f4fd;
    border: 1px solid #b3d9f2;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.notice-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}
.notice-text.last {
    margin-bottom: 0px;
}

.highlight {
    color: #ff6b35;
    font-weight: 600;
}

.team-signature {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.links-section {
    margin-top: 25px;
    font-size: 14px;
    /* 세로로 나열하되 가로로 늘어지지 않게 */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ← 가로폭 늘어나는 기본 stretch 방지 */
    gap: 8px;               /* 항목 간 간격 */
}

.links-section a {
    color: #0066cc;
    display: inline;        /* ← 전체 폭 차지하지 않음 = 텍스트만 클릭 */
    text-decoration: none;
    margin-bottom: 8px;
}

.links-section a:hover {
    text-decoration: underline;
}

/* 팝업 하단 버튼 영역 */
.popup-footer {
    background-color: #f8f9fa;
    padding: 20px 30px;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dont-show-today {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.dont-show-today input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.popup-buttons {
    display: flex;
    gap: 10px;
}

.popup-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-secondary {
    background-color: #f1f3f4;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e8eaed;
}

/* 반응형 */
@media (max-width: 600px) {
    .popup-container {
        width: 95vw;
        margin: 20px;
    }
    
    .popup-header, .popup-body, .popup-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .popup-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .popup-buttons {
        justify-content: center;
    }
}