
/* 📱 요금제 변경 모달 스타일 */
.plan-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-modal-overlay.show {
    opacity: 1;
}

.plan-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 90vw;
    width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.plan-modal-overlay.show .plan-modal-content {
    transform: translateY(0);
}

.plan-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-modal-header h3 {
    margin: 0;
    color: #1d1d1f;
    font-size: 1.4rem;
    font-weight: 700;
}

.plan-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.plan-modal-close:hover {
    background-color: #f5f5f5;
}

.plan-modal-body {
    padding: 16px 24px;
    max-height: 50vh;
    overflow-y: auto;
}

.plan-selection-container {
    display: grid;
    gap: 12px;
}

.plan-modal-body .plan-item {
    padding: 16px;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.plan-modal-body .plan-item:hover {
    border-color: #007aff;
    background: #f7f9ff;
}

.plan-modal-body .plan-item.active {
    border-color: #007aff;
    background: #e8f2ff;
}

.plan-modal-body .plan-item h4 {
    margin: 0 0 8px 0;
    color: #1d1d1f;
    font-size: 1.1rem;
    font-weight: 600;
}

.plan-modal-body .plan-item .plan-details {
    margin: 8px 0;
}

.plan-modal-body .plan-item .plan-feature {
    font-size: 0.9rem;
    color: #666;
    margin: 4px 0;
}

.plan-modal-body .plan-item p {
    margin: 8px 0 0 0;
    color: #007aff;
    font-weight: 600;
    font-size: 0.95rem;
}

.plan-modal-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.plan-modal-footer .btn-action {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

/* 모바일 최적화 */
@media (max-width: 640px) {
    .plan-modal-content {
        width: 95vw;
        max-height: 85vh;
        border-radius: 12px;
        margin: 20px;
    }
    
    .plan-modal-header {
        padding: 20px 20px 12px;
    }
    
    .plan-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .plan-modal-body {
        padding: 12px 20px;
    }
    
    .plan-modal-footer {
        padding: 12px 20px 20px;
        flex-direction: column;
    }
    
    .plan-modal-footer .btn-action {
        width: 100%;
        padding: 16px;
    }
}


:root {
            --primary-color: #007aff;
            --secondary-color: #f8f9fa;
            --border-color: #e5e5ea;
            --text-primary: #1d1d1f;
            --text-secondary: #555;
            --success-color: #34c759;
            --warning: #ff9500;
            --error-color: #ff3b30;
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            padding-top: 60px; /* 인덱스와 통일된 패딩 */
            color: var(--text-primary);
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }

        .container {
            max-width: 900px;
            margin: 20px auto;
            padding: 30px;
            background-color: #fff;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border-radius: 16px;
            position: relative;
            overflow: hidden;
        }

        .container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), #5856d6, #ff2d92);
        }

        .header {
            text-align: center;
            padding-bottom: 30px;
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 30px;
            position: relative;
        }

        .header .logo img {
            max-width: 140px;
            height: auto;
            transition: transform 0.3s ease;
            transform: translateY(2px);
        }

        .header .logo img:hover {
            transform: scale(1.05);
        }

        /* --- 고정 헤더 스타일 --- */
        .fixed-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: #ffffff;
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            z-index: 1000;
            height: 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 var(--spacing-lg); /* 인덱스와 통일된 패딩 */
            box-sizing: border-box;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        }

        .fixed-header .logo {
            display: flex;
            align-items: center;
        }

        .fixed-header .logo img {
            height: 32px;
            width: auto;
            transition: transform var(--transition-fast); /* 인덱스와 통일된 트랜지션 */
        }

        .fixed-header .logo img:hover {
            transform: scale(1.05); /* 인덱스와 통일된 호버 효과 */
        }

        .fixed-header .menu-button {
            background: none;
            border: none;
            cursor: pointer;
            padding: var(--spacing-xs);
            border-radius: 6px;
            transition: background-color var(--transition-fast);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
        }

        .fixed-header .menu-button:hover {
            background-color: rgba(0, 0, 0, 0.03);
        }

        .fixed-header .menu-button svg {
            width: 24px;
            height: 24px;
            fill: #1d1d1f; /* 인덱스와 통일된 색상 */
        }

        /* 모바일 최적화 */
        @media (max-width: 767px) {
            .fixed-header {
                height: 45px;
                padding: 0 var(--spacing-md); /* 인덱스와 통일된 모바일 패딩 */
            }

            .fixed-header .logo img {
                height: 28px;
            }

            .fixed-header .menu-button {
                width: 28px;
                height: 28px;
            }

            .fixed-header .menu-button svg {
                width: 20px;
                height: 20px;
            }

            body {
                padding-top: 60px; /* 인덱스와 통일된 모바일 패딩 */
            }
        }


        /* 사이드 메뉴 스타일 */
        .side-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .side-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .side-menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100%;
            background: #ffffff;
            z-index: 1002;
            transition: right 0.3s ease;
            box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
            padding: 20px 0;
        }

        .side-menu.active {
            right: 0;
        }

        .close-button {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 30px;
            cursor: pointer;
            color: #666;
            padding: 5px;
            line-height: 1;
        }

        .side-menu ul {
            list-style: none;
            padding: 60px 0 0 0;
            margin: 0;
        }

        .side-menu li {
            border-bottom: 1px solid #eee;
        }

        .side-menu a {
            display: block;
            padding: 15px 30px;
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: background-color 0.2s ease;
        }

        .side-menu a:hover {
            background-color: #f8f9fa;
            color: #007aff;
        }

        .menu-button {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            z-index: 101;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: background-color 0.2s;
        }

        .menu-button:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .menu-button svg {
            width: 24px;
            height: 24px;
            fill: #1d1d1f; /* 인덱스와 통일된 색상 */
        }

        h2 {
            font-weight: 700;
            font-size: 1.8em;
            margin-bottom: 10px;
            color: var(--text-primary);
            text-align: center;
        }

        h3 {
            margin-top: 0;
            color: var(--primary-color);
            padding-bottom: 15px;
            font-size: 1.4em;
            font-weight: 700;
            position: relative;
        }

        .input-group {
            margin-bottom: 20px;
            position: relative;
        }

        .input-group label {
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 8px;
            display: block;
            font-size: 0.95em;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .input-group input {
            width: 100%;
            padding: 16px 20px;
            border: 2px solid #e1e5e9;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            background-color: #fafbfc;
        }

        .input-group input:focus {
            outline: none;
            border-color: var(--primary-color);
            background-color: #fff;
            box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
            transform: translateY(-2px);
        }

        .btn-action {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--primary-color), #5856d6);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 1.1em;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
        }

        .address-search-btn {
            padding: 12px 20px;
            background: linear-gradient(135deg, #f8f9f9, #e9ecef);
            color: #495057;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            font-size: 0.9em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: none;
            letter-spacing: normal;
            width: auto;
        }

        .address-search-btn:hover {
            background: linear-gradient(135deg, #e9ecef, #dee2e6);
            border-color: var(--primary-color);
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 122, 255, 0.15);
        }

        .address-search-btn:active {
            transform: translateY(0px) scale(0.98);
            box-shadow: 0 1px 4px rgba(0, 122, 255, 0.1);
        }

        .btn-action::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn-action:hover::before {
            left: 100%;
        }

        .btn-action:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
        }

        .btn-action:active {
            transform: translateY(0);
        }

        .btn-action:disabled {
            background: #e5e5ea;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .order-details, .product-info-section {
            background: var(--secondary-color);
            border: 2px solid #e9ecef;
            border-radius: 16px;
            padding: 30px;
            margin-top: 30px;
            display: none;
            position: relative;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #dee2e6;
            transition: background-color 0.2s ease;
        }

        .detail-item:hover {
            background-color: rgba(0, 122, 255, 0.02);
            border-radius: 8px;
            margin: 0 -10px;
            padding: 15px 10px;
        }

        .detail-item:last-child {
            border-bottom: none;
        }

        .detail-label {
            font-weight: 700;
            color: var(--text-secondary);
            font-size: 0.9em;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .detail-value {
            font-weight: 600;
            color: var(--text-primary);
            text-align: right;
        }

        .option-label {
            display: block;
            font-weight: 700;
            color: var(--text-secondary);
            margin-bottom: 12px;
            font-size: 0.95em;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .option-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }

        .option-btn {
            padding: 12px 18px;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            background-color: #fff;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 0.9em;
            min-width: 80px;
            text-align: center;
        }

        .option-btn:hover {
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 122, 255, 0.15);
        }

        .option-btn.active {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
        }

        .color-swatch-list {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .color-swatch {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 3px solid transparent;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .color-swatch::after {
            content: '';
            position: absolute;
            inset: -6px;
            border-radius: 50%;
            border: 2px solid transparent;
            transition: border-color 0.3s ease;
        }

        .color-swatch:hover::after {
            border-color: var(--primary-color);
        }

        .color-swatch.active {
            border-color: var(--primary-color);
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
        }

        /* 알림 메시지 스타일 */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 16px 24px;
            border-radius: 12px;
            color: #fff;
            font-weight: 600;
            font-size: 0.9em;
            z-index: 1000;
            transform: translateX(400px);
            transition: transform 0.3s ease;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.success {
            background: var(--success-color);
        }

        .notification.error {
            background: var(--error-color);
        }

        /* 모바일 최적화 */
        @media (max-width: 768px) {
            /* iOS Safari 자동 확대 방지 - 전역 적용 */
            input, select, textarea, button {
                font-size: 16px !important;
                -webkit-appearance: none;
                -webkit-tap-highlight-color: transparent;
            }

            body {
                padding: 10px;
            }

            .container {
                padding: 20px;
                border-radius: 12px;
            }

            h2 {
                font-size: 1.5em;
            }

            .input-group input {
                padding: 14px 16px;
                font-size: 16px; /* iOS 확대 방지 */
            }

            .btn-action {
                padding: 16px;
                font-size: 16px; /* iOS 확대 방지 */
            }

            .option-buttons {
                gap: 8px;
            }

            .option-btn {
                padding: 10px 14px;
                font-size: 0.85em;
                min-width: 70px;
            }

            .color-swatch {
                width: 36px;
                height: 36px;
            }

            .detail-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .detail-value {
                text-align: left;
                font-size: 1.1em;
                color: var(--primary-color);
            }

            .order-details, .product-info-section {
                padding: 20px;
            }
        }

        /* 사이드 메뉴 스타일 */
        .side-menu-overlay { 
            display: none; 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            background-color: rgba(0, 0, 0, 0.4); 
            z-index: 1000; 
        }

        .side-menu { 
            position: fixed; 
            top: 0; 
            right: -300px; 
            width: 280px; 
            height: 100%; 
            background-color: #fff; 
            box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1); 
            z-index: 1001; 
            transition: right 0.3s ease-out; 
            padding-top: 60px; 
        }

        .side-menu.open { 
            right: 0; 
        }

        .side-menu ul { 
            list-style: none; 
            padding: 0; 
            margin: 0; 
        }

        .side-menu ul li a { 
            display: block; 
            padding: 15px 20px; 
            color: #1d1d1f; 
            text-decoration: none; 
            border-bottom: 1px solid #eee; 
            transition: background-color 0.2s; 
        }

        .side-menu ul li a:hover { 
            background-color: #f5f5f7; 
        }

        .side-menu .close-button { 
            position: absolute; 
            top: 15px; 
            right: 20px; 
            background: none; 
            border: none; 
            font-size: 2em; 
            cursor: pointer; 
            color: #1d1d1f; 
        }

        /* 📱 요금제 변경 모달 스타일 */
        .plan-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .plan-modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .plan-modal-content {
            background: white;
            border-radius: 12px;
            padding: 0;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            transform: translateY(-20px);
            transition: transform 0.3s ease;
        }

        .plan-modal-overlay.show .plan-modal-content {
            transform: translateY(0);
        }

        .plan-modal-header {
            padding: 20px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .plan-modal-header h3 {
            margin: 0;
            color: var(--primary-color);
        }

        .plan-modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #999;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .plan-modal-body {
            padding: 20px;
        }

        .plan-selection-container .plan-item {
            margin-bottom: 15px;
            padding: 15px;
            border: 2px solid #f0f0f0;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .plan-selection-container .plan-item:hover {
            border-color: var(--primary-color);
            background: #f8f9ff;
        }

        .plan-selection-container .plan-item.active {
            border-color: var(--primary-color);
            background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
        }

        .plan-modal-footer {
            padding: 20px;
            border-top: 1px solid #f0f0f0;
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        /* 📱 모바일 최적화된 스타일 */
        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }

            .plan-modal-content {
                width: 95%;
                max-height: 90vh;
            }

            .plan-modal-footer {
                flex-direction: column;
            }

            .plan-modal-footer button {
                width: 100%;
                margin: 5px 0;
            }
        }



        /* 로딩 애니메이션 */
        .loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid #fff;
            border-top: 2px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* 요금제 선택 스타일 */
        .plan-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 10px;
        }

        .plan-list .plan-item {
            padding: 20px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            background-color: #f9f9f9;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            -webkit-tap-highlight-color: rgba(0, 122, 255, 0.1);
            touch-action: manipulation;
            user-select: none;
            -webkit-user-select: none;
            min-height: 44px; /* iOS 터치 타겟 최소 크기 */
        }

        .plan-list .plan-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-color: var(--primary-color);
        }

        .plan-list .plan-item:active {
            transform: translateY(0px) scale(0.98);
        }

        .plan-list .plan-item.active {
            background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
            border-color: var(--primary-color);
            box-shadow: 0 4px 16px rgba(0, 122, 255, 0.2);
        }

        .plan-list .plan-item h4 {
            margin: 0 0 8px 0;
            font-size: 1.1em;
            font-weight: 700;
            color: #1d1d1f;
        }

        .plan-list .plan-item p {
            margin: 8px 0 0 0;
            font-size: 0.9em;
            color: #666;
            font-weight: 600;
        }

        .plan-details {
            margin: 8px 0;
        }

        .plan-feature {
            background: rgba(0, 122, 255, 0.08);
            color: var(--primary-color);
            padding: 4px 8px;
            border-radius: 16px;
            font-size: 0.75em;
            font-weight: 600;
            margin: 3px 6px 3px 0;
            display: inline-block;
            border: 1px solid rgba(0, 122, 255, 0.2);
        }

        .plan-more-options {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
            border: 2px dashed #6c757d !important;
            text-align: center;
        }

        .plan-more-options h4 {
            color: #495057 !important;
        }

        .plan-more-options p {
            color: #6c757d !important;
        }

        .plan-more-options:hover {
            background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
        }

        /* 팝업 오버레이 기본 스타일 */
        .custom-popup-overlay {
            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;
        }

        .custom-popup-content {
            background: #fff;
            padding: 30px;
            border-radius: 16px;
            max-width: 90vw;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            animation: popupShow 0.3s ease-out;
        }

        @keyframes popupShow {
            from {
                transform: scale(0.8);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

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

        .popup-close {
            background: none;
            border: none;
            font-size: 1.5em;
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            transition: background-color 0.2s;
        }

        .popup-close:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

        /* 요금제 선택 팝업 전용 스타일 */
        .plan-list-modal {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .plan-list-modal .plan-card {
            padding: 20px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            background-color: #f9f9f9;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .plan-list-modal .plan-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-color: var(--primary-color);
        }

        .plan-list-modal .plan-card.active {
            background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
            border-color: var(--primary-color);
            box-shadow: 0 4px 16px rgba(0, 122, 255, 0.2);
        }

        .plan-list-modal .plan-card h5 {
            margin: 0 0 8px 0;
            font-size: 1.1em;
            font-weight: 700;
            color: #1d1d1f;
        }

        .plan-list-modal .plan-card .plan-features {
            margin: 8px 0;
        }

        .plan-list-modal .plan-card .plan-feature {
            background: rgba(0, 122, 255, 0.08);
            color: var(--primary-color);
            padding: 4px 8px;
            border-radius: 16px;
            font-size: 0.75em;
            font-weight: 600;
            margin: 3px 6px 3px 0;
        }

        /* 🎨 색상 선택 관련 스타일 (인덱스와 통일) */
        .color-selection-container {
            margin: 10px 0;
        }

        .color-swatch-list {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .color-swatch {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 2px solid #e5e5ea;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .color-swatch:hover {
            transform: scale(1.1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .color-swatch.active {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
            transform: scale(1.1);
        }

        .color-swatch.active::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .selected-color-name {
            font-size: 0.9em;
            color: var(--text-secondary);
            font-weight: 500;
            padding: 8px 12px;
            background: #f8f9fa;
            border-radius: 8px;
            border-left: 3px solid var(--primary-color);
        }
            display: inline-block;
            border: 1px solid rgba(0, 122, 255, 0.2);
        }

        .plan-list-modal .plan-card .plan-price {
            margin: 8px 0 0 0;
            font-size: 0.9em;
            color: #666;
            font-weight: 600;
        }