/* popup.css - 팝업, 옵션 메뉴 스타일 */

/* 추가 옵션 팝업 메뉴 */
.add-options-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1400;
    pointer-events: none;
}

.add-options-popup.show {
    pointer-events: auto;
}

.add-options-popup .popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.add-options-popup.show .popup-backdrop {
    opacity: 1;
}

.add-options-popup .popup-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.add-options-popup.show .popup-content {
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.popup-header span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.popup-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.popup-close:hover {
    background: #e0e0e0;
}

.popup-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.popup-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8f9fa;
    color: #333;
}

.popup-option-btn:hover {
    background: #e9ecef;
}

.popup-option-btn:active {
    background: #dee2e6;
}

.popup-option-btn .option-icon {
    font-size: 1.4rem;
}

.popup-cancel-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: #e9ecef;
    color: #666;
    transition: all 0.2s;
}

.popup-cancel-btn:hover {
    background: #dee2e6;
}
