/* ===== 정보 팝업창 스타일 ===== */
.info-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #333;
}

.popup-header {
    background: #20b2aa;
    color: white;
    padding: 20px 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -30px -30px 0px -30px;
}

.popup-header h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.popup-body {
    padding: 0 10px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.info-list li:before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: 0;
    top: 0;
    color: #20b2aa;
    font-weight: bold;
}

.info-list {
    counter-reset: list-counter;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.popup-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-header {
    background: #20b2aa;
    color: white;
    padding: 20px 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.popup-body {
    padding: 25px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 12px 0 12px 25px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    position: relative;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li:before {
    content: "•";
    color: #20b2aa;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 8px;
}

/* ===== 반응형 디자인 - 태블릿 (768px 이하) ===== */
@media (max-width: 768px) {
    .popup-content {
        max-width: 90%;
        width: 95%;
        margin: 20px;
    }
    
    .popup-header {
        padding: 18px 20px;
    }
    
    .popup-header h3 {
        font-size: 17px;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .info-list li {
        font-size: 14px;
        padding: 10px 0 10px 20px;
    }
}

/* ===== 반응형 디자인 - 모바일 (478px 이하) ===== */
@media (max-width: 478px) {
    .popup-content {
        max-width: 95%;
        width: 98%;
        margin: 10px;
    }
    
    .popup-header {
        padding: 15px 18px;
    }
    
    .popup-header h3 {
        font-size: 16px;
    }
    
    .popup-body {
        padding: 10px;
    }
    
    .info-list li {
        font-size: 13px;
        padding: 8px 0 8px 18px;
        line-height: 1.5;
    }
    
    .popup-close {
        font-size: 22px;
        width: 28px;
        height: 28px;
    }
}