/* 인터넷 투명 버튼 스타일 - 이미지 크기 기준 반응형 */
.internet-transparent-btn {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 12%;
    background: transparent;
    border: none;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    z-index: 10;
    cursor: pointer;
    min-width: 300px;
    min-height: 50px;
}

.internet-transparent-btn span {
    display: none; /* 텍스트 완전히 숨김 */
}
/* 4개 투명 버튼 스타일 - 이미지 크기 기준 반응형 */
.internet-four-btn {
    position: absolute;
    bottom: 12%;
    width: 15%;
    height: 10%;
    background: transparent;
    border: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    z-index: 10;
    cursor: pointer;
    transform: translateX(-50%);
    min-width: 120px;
    min-height: 45px;
}

.internet-four-btn span {
    display: none; /* 텍스트 완전히 숨김 */
}

/* 각 버튼의 위치 설정 - 카드 중앙에 정확히 배치 */
.internet-four-btn-1 {
    left: 24%;
}

.internet-four-btn-2 {
    left: 41.5%;
}

.internet-four-btn-3 {
    left: 58.5%;
}

.internet-four-btn-4 {
    left: 77%;
}

/* 모바일 반응형 - 2x2 레이아웃 */
@media (max-width: 768px) {
    .internet-transparent-btn {
        min-width: 250px;
        min-height: 45px;
        border-radius: 25px;
    }

    .internet-four-btn {
        width: 30%;
        height: 8%;
        min-width: 100px;
        min-height: 35px;
        border-radius: 20px;
    }

    /* 첫 번째 줄 - 위쪽 2개 */
    .internet-four-btn-1 {
        left: 25%;
        bottom: 32%;
    }

    .internet-four-btn-2 {
        left: 75%;
        bottom: 32%;
    }

    /* 두 번째 줄 - 아래쪽 2개 */
    .internet-four-btn-3 {
        left: 25%;
        bottom: 12%;
    }

    .internet-four-btn-4 {
        left: 75%;
        bottom: 12%;
    }
}

@media (max-width: 480px) {
    .internet-transparent-btn {
        min-width: 200px;
        min-height: 40px;
        border-radius: 20px;
    }

    .internet-four-btn {
        width: 35%;
        height: 6%;
        min-width: 80px;
        min-height: 30px;
        border-radius: 15px;
    }

    /* 첫 번째 줄 - 위쪽 2개 */
    .internet-four-btn-1 {
        left: 30%;
        bottom: 48%;
    }

    .internet-four-btn-2 {
        left: 72%;
        bottom: 48%;
    }

    /* 두 번째 줄 - 아래쪽 2개 */
    .internet-four-btn-3 {
        left: 30%;
        bottom: 10%;
    }

    .internet-four-btn-4 {
        left: 72%;
        bottom: 10%;
    }
}

/* 인터넷 요금제 계산기 전용 스타일 */

/* 계산기 컨테이너 */
.calculator-container {
    width: 500px;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 0px;
    background: #fff;
}

/* 헤더 영역 */

.calc-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 10px;
}

.header-content {
    flex: 1;
    text-align: left;
}

/* 새로운 진행도 표시 */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 0;
}

.progress-item {
    display: flex;
    align-items: center;
    position: relative;
}

.progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.progress-item.current .progress-circle {
    background: #462cc5;
    color: white;
}

.progress-item.completed .progress-circle {
    background: #5c72ff;
    color: white;
}

.progress-item .step-number {
    display: block;
}

.progress-item .step-check {
    display: none;
    font-size: 16px;
}

.progress-item.completed .step-number {
    display: none;
}

.progress-item.completed .step-check {
    display: block;
}

.progress-line {
    width: 40px;
    height: 2px;
    background: #e0e0e0;
    position: relative;
    transition: all 0.3s ease;
}

.progress-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #e0e0e0 0px,
        #e0e0e0 4px,
        transparent 4px,
        transparent 8px
    );
}

.progress-line.completed::before {
    background: repeating-linear-gradient(
        to right,
        #1976d2 0px,
        #1976d2 4px,
        transparent 4px,
        transparent 8px
    );
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
    text-align: left;
    padding-left: 20px;
}

.step-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: left;
    padding-left: 20px;
}

/* 메인 컨텐츠 */
.calc-content {
    position: relative;
    width: 100%;
    min-height: 400px;
    margin-bottom: 60px;
}

/* 단계별 패널 */
.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
}

/* 선택 컨테이너 */
.selection-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 통신사 선택 영역 */
.provider-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* 항목 리스트 */
.item-list {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

/* 리스트 아이템 */
.list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

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

.list-item:hover {
    background: #f8f9fa;
}

.list-item.selected {
    background: #f5f5f5;    
}

/* 통신사 로고 */
.provider-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;    
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 통신사 정보 */
.provider-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.provider-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.provider-desc {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

/* 체크 원형 */
.check-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.list-item.selected .check-circle {
    border-color: #333;
    background: #333;
}

.list-item.selected .check-circle::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* 인터넷 사용량 선택 카드 스타일 */
.internet-usage-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.usage-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0;
}

.usage-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 2px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.usage-card:hover {
    background: #f5f5f5;    
}

.usage-card.selected {    
    background: #f5f5f5;      
    border: 2px solid #e0e0e0; 
}

.usage-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.usage-icon {
    margin-bottom: 8px;
}

.icon-bg {
    /* width: 60px;
    height: 60px; */
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;    
}

.usage-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.usage-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.3;
    font-weight: 600;
}
/* TV 시청 선택 카드 스타일 */
.tv-usage-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.tv-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0;
}

.tv-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 2px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tv-card:hover {
    background: #f5f5f5;    
}

.tv-card.selected {
    background: #f5f5f5;        
}

.tv-card.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.tv-icon {
    margin-bottom: 8px;
}

.tv-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tv-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

.tv-card.selected .tv-title {
    color: #1976d2;
}

.tv-card.selected .tv-desc {
    color: #1976d2;
    opacity: 0.8;
}

/* 하단 이전 버튼 스타일 */
.step-navigation {
    margin-top: 30px;
    text-align: center;
}

.btn-previous {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 5px 14px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-previous:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-previous:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 단계별 정보 섹션 */
.step-info-section {
    margin-top: 50px;
    padding: 0 20px;
}

.info-item {
    background: #f5f5f5;    
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}
.info-icon {
    font-size: 18px;
    color: #ffe200;
    padding-top: 4px;
    
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

.info-desc {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    opacity: 0.9;
}

/* 로딩 화면 스타일 */
.loading-panel {
    display: none;
    position: relative;
    text-align: center;
    padding: 60px 20px;
    /*background: linear-gradient(135deg, #f8f9fa, #e9ecef);*/
    border-radius: 20px;
    margin: 20px 0;
    animation: fadeIn 0.5s ease-in-out;
}

.loading-container {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.loading-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    width: 250px;
    height: 250px;
}

.loading-ai-image {
    width: 250px;
    height: 250px;
    object-fit: contain;
    animation: internetImageFloat 2s ease-in-out infinite;
    z-index: 1;
    position: relative;
}

.loading-text {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    animation: pulse 2s ease-in-out infinite;
}

/* 모바일 전용 줄바꿈 - 기본적으로 숨김 */
.mobile-break {
    display: none;
}

/* 결과 패널 */
.result-panel {
    display: none;    
    background: white;
    border-radius: 20px;    
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.result-panel.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 60px;
}

/* 선택 정보 박스 */
.selection-info {
    margin-bottom: 30px;
    animation: slideInFromTop 0.8s ease-out;
}

.selection-boxes-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
}

.selection-box {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    flex: 1;
    min-height: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selection-box-content {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

/* 요금제 결과 그리드 */
.plans-grid {
    margin-bottom: 30px;
}

.plan-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    padding: 15px 0;
    border-bottom: 2px solid #f1f3f4;
    position: relative;
}

.plan-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #1976d2;
}

.plan-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}



.plan-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.plan-provider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.plan-provider-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
}

.plan-provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plan-provider-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.plan-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.plan-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.plan-body {
    padding: 20px;
}

.plan-specs {
    margin-bottom: 20px;
}

.plan-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.plan-spec-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.plan-spec-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.plan-price-section {
    background: #f8fffe;
    border: 1px solid #e1f5fe;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.plan-price {
    text-align: center;
    margin-bottom: 12px;
}

.plan-price-amount {
    font-size: 28px;
    font-weight: 800;
    color: #1976d2;
    line-height: 1;
}

.plan-price-unit {
    font-size: 14px;
    color: #666;
    margin-left: 4px;
}

.plan-original-price {
    text-align: center;
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.plan-discount {
    background: #fff3e0;
    border: 1px solid #ffcc02;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.plan-discount-title {
    font-size: 12px;
    color: #f57f17;
    font-weight: 600;
    margin-bottom: 4px;
}

.plan-discount-amount {
    font-size: 16px;
    font-weight: 700;
    color: #f57f17;
}

.plan-discount-info {
    margin-top: 8px;
    color: #6c757d;
    font-size: 0.85rem;
    text-align: center;
}

.plan-discount-info small {
    opacity: 0.8;
}

.plan-gift-amount {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ff6b6b;
    text-align: center;
    margin-top: 8px;
}

.plan-benefits {
    margin-bottom: 20px;
}

.plan-benefits-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.plan-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-benefits-list li {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 4px;
    padding-left: 16px;
    position: relative;
}

.plan-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
}

.plan-footer {
    background: #f8f9fa;
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.plan-select-btn {
    background: #1976d2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.plan-select-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* 태블릿 반응형 */
@media (max-width: 992px) and (min-width: 769px) {
    .usage-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        justify-items: center;
    }
    
    .usage-card {
        padding: 20px 14px;
        max-width: 200px;
        width: 100%;
    }
    
    .usage-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 200px;
        justify-self: center;
    }
    
    .icon-bg {
        width: 55px;
        height: 55px;
    }
    
    .usage-title {
        font-size: 15px;
    }    
       
    .usage-desc {
        font-size: 12px;
    }

    .icon-image {
        width: 32px;
        height: 32px;
    }

    /* 태블릿 TV 카드 */
    .tv-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        justify-items: center;
    }
    
    .tv-card {
        padding: 16px 12px;
        max-width: 200px;
        width: 100%;
    }
    
    .tv-title {
        font-size: 15px;
    }
    
    .tv-desc {
        font-size: 12px;
    }
}

@keyframes internetImageFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .calculator-container {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }
    .loading-panel {
        padding: 40px 15px;
        margin: 15px 0;
    }
    
    .loading-container {
        max-width: 300px;
    }
    
    .loading-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 25px;
    }
    
    .loading-ai-image {
        width: 150px;
        height: 150px;
    }
    /* 모바일에서 줄바꿈 보이기 */
    .mobile-break {
        display: inline;
    }  
    
    
    .selection-container {
        padding: 0 15px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .list-item {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .calc-header {
        gap: 15px;
    }
    
    .btn-previous-header {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 50px;
        height: 32px;
        margin-top: 3px;
    }

    /* 모바일 진행도 */
    .step-progress {
        margin-bottom: 25px;
    }

    .progress-line {
        width: 60px;
    }

    .progress-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* 모바일 통신사 로고 */
    .provider-logo {
        width: 40px;
        height: 40px;
    }

    .provider-name {
        font-size: 15px;
    }

    .provider-desc {
        font-size: 12px;
    }

    /* 모바일 정보 섹션 */
    .step-info-section {
        margin-top: 30px;
        padding: 0 10px;
    }

    .info-item {
        padding: 14px 16px;
        gap: 10px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .info-icon {
        font-size: 16px;
    }

    .info-title {
        font-size: 14px;
    }

    .info-desc {
        font-size: 12px;
    }

    /* 모바일 selection-info */
    .selection-boxes-container {
        gap: 8px;
    }
    
    .selection-box {
        padding: 10px 6px;
        min-height: 55px;
    }
    
    .selection-box-content {
        font-size: 12px;
        line-height: 1.2;
    }

    /* 모바일 요금제 카드 */
    .plan-section-title {
        font-size: 18px;
        padding: 12px 0;
        margin-bottom: 15px;
    }

    .plan-cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .plan-card {
        margin: 0 10px;
    }

    .plan-header {
        padding: 16px;
    }

    .plan-provider-logo {
        width: 28px;
        height: 28px;
    }

    .plan-provider-name {
        font-size: 14px;
    }

    .plan-title {
        font-size: 16px;
    }

    .plan-subtitle {
        font-size: 12px;
    }

    .plan-body {
        padding: 16px;
    }

    .plan-spec-item {
        padding: 6px 0;
    }

    .plan-spec-label,
    .plan-spec-value {
        font-size: 13px;
    }

    .plan-price-section {
        padding: 12px;
        margin-bottom: 16px;
    }

    .plan-price-amount {
        font-size: 24px;
    }

    .plan-discount {
        padding: 10px;
        margin-bottom: 12px;
    }

    .plan-benefits-title {
        font-size: 13px;
    }

    .plan-benefits-list li {
        font-size: 12px;
    }

    .plan-footer {
        padding: 12px 16px;
    }

    .plan-select-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .plan-card.recommended::before {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 3px 8px;
    }

    /* 모바일 인터넷 사용량 카드 */
    .usage-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .usage-card {
        padding: 20px 16px;
    }

    .icon-bg {
        width: 50px;
        height: 50px;
    }

    .icon-text {
        font-size: 20px;
    }
    .usage-title {
        font-size: 15px;
    }    

    .usage-desc {
        font-size: 12px;
    }

    /* 모바일 TV 카드 */
    .tv-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tv-card {
        padding: 16px 12px;
    }

    .tv-title {
        font-size: 15px;
    }

    .tv-desc {
        font-size: 12px;
    }

    /* 모바일 이전 버튼 */
    .btn-previous {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .selection-boxes-container {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .result-actions {
        flex-direction: row;
        gap: 15px;
        flex-wrap: nowrap;
    }
    
    .btn-consult,
    .btn-restart {
        flex: 1;
        max-width: 200px;
    }
    
    .loading-text {
        font-size: 18px;
    }    
    
}

@media (max-width: 480px) {
    .calc-header {
        padding: 15px 10px;
        margin-bottom: 0;
    }
    
    .step-title {
        font-size: 18px;
        padding-left: 0;
    }
    
    .step-description {
        font-size: 13px;
        padding-left: 0;
    }
    
    .calc-content {
        padding: 10px;
    }
    
    .selection-container {
        padding: 0 10px;
    }
    
    .list-item {
        padding: 12px;
    }

    /* 480px 이하 모바일 인터넷 사용량 카드 */
    .usage-cards-grid {
        gap: 12px;
    }

    .usage-card {
        padding: 16px 12px;
    }

    .icon-bg {
        width: 45px;
        height: 45px;
    }

    .icon-text {
        font-size: 18px;
    }
    .usage-title {
        font-size: 14px;
    }
    /* 480px 이하 모바일 TV 카드 */
    .tv-cards-grid {
        gap: 12px;
    }

    .tv-card {
        padding: 14px 10px;
    }

    .tv-title {
        font-size: 14px;
    }

    .tv-desc {
        font-size: 11px;
    }

    /* 480px 이하 모바일 이전 버튼 */
    .btn-previous {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .plan-card {
        padding: 15px;
    }
    
    .plan-title {
        font-size: 12px;
    }
    
    .plan-price {
        font-size: 20px;
    }
}

/* 애니메이션 */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*
.plan-card {
    animation: slideInFromBottom 0.5s ease forwards;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }
.plan-card:nth-child(4) { animation-delay: 0.4s; } 
*/
/* 상담 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1002;
    align-items: center;
    justify-content: center;
}

.modal-content {    
    border-radius: 20px;
    max-width: 420px;
    width: 90%;    
    position: relative;
    overflow: auto;
    max-height: 90vh;
    box-sizing: border-box;    
    overflow-y: auto;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 웹킷 브라우저 스크롤바 스타일링 */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.close-modal {
    position: absolute;
    top: 9px;
    right: 9px;
    font-size: 13px;
    cursor: pointer;
    color: #333;    
}

/* 모달 헤더 스타일 */
.modal-header {
    text-align: center;
    margin-bottom: 10px;
    background: #fff;
    padding: 10px;
    border-bottom: 0;
}

.modal h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;    
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.etc-comment {
    font-size: 14px;
    color: #666;
    padding: 10px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #f5f5f5;
    margin-bottom: 20px;
}

.etc-comment strong {
    color: #333;
    font-weight: bold;
}

.subtitle-label {
    color: #666;
    font-size: 14px;
    font-weight: bold;
}

.subtitle-value {  
    color: #462cc5;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;    
    letter-spacing: 0.5px;
}

.subtitle-value.no-selection {
    background-color: #f5f5f5;
    color: #999;
}

.subtitle-value.multiple-selection {
    background-color: #f5f5f5;
    color: #333;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
    font-size: 13px;
}

.form-group label strong {
    color: #ff0000;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-size: 13px;
    background-color: white;
    transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    font-size: 13px;
    color: #bbb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1976d2;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.submit-btn {
    background: #462cc5;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
}

.submit-btn:hover {
    background: #3d26b1;
}

.submit-btn:disabled {
    background-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

/* 약관 동의 섹션 스타일 */
.ic-agreement-section {
    margin-bottom: 0;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    margin-bottom: 20px;
}

.ic-agreement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background-color: #f8f9fa;    
}

.form-check-input {    
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin: 0px 5px 0 0;
}

.form-check-input:checked {    
    background-color: #333;
    border-color: #333;
}

.form-check-label {
    margin: 0;
    font-weight: 500;
    flex: 1;
    color: #333;
    font-size: 13px;
}

.ic-agreement-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    padding: 0.2rem;
}

.ic-agreement-list {
    background-color: #fff;
}

.ic-agreement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid #f1f3f5;
}

.ic-agreement-item:last-child {
    border-bottom: none;
}
.ic-agreement-link {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    padding: 0.2rem;
}

.ic-agreement-link:hover {
    color: #1976d2;
}

/* 모바일에서 모달 최적화 */
@media (max-width: 768px) {
    .modal-content {        
        /* 모바일에서도 스크롤바 폭 고정 */
        scrollbar-gutter: stable;
        overflow-y: auto;
        width: 95%;
        max-width: 400px;
        border-radius: 16px;
    }
    
    .modal h2 {
        font-size: 1.3rem;
    }
    
    .modal-subtitle {
        font-size: 0.85rem;
    }
    
    .subtitle-value {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .ic-agreement-section {
        border-radius: 10px;
    }
    
    .ic-agreement-header {
        padding: 0.9rem 1rem;
    }
    
    .ic-agreement-item {
        padding: 0.7rem 1rem;
    }
    
    .ic-agreement-header .form-check-label,
    .ic-agreement-item .form-check-label {
        font-size: 0.8rem;
    }
} 

/* ===== 인터넷 요금제 결과 페이지 스타일 ===== */

/* 결과 메인 컨테이너 */
.internet-price-result-container {
    max-width: 600px;
    margin: 0 auto;    
    background: #fff;
}

/* 상단 태그들 */
.top-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
    justify-content: center;
}

.top-tags .tag {    
    color: #6c757d;
    padding: 3px 6px;    
    font-size: 14px;
    font-weight: 500;    
}

/* 메인 제목 */
.main-title {
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .main-title {
        margin-bottom: 10px;
    }
}

.main-title h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* 카드 내용 */
.plan-content {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
}

/* 카드 왼쪽 영역 */
.plan-left {
    flex: 1;
    display: flex;
    gap: 16px;
}

/* 통신사 로고 */
.provider-logo {
    flex-shrink: 0;
}

.kt-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

/* 요금제 정보 */
.plan-info {
    flex: 1;
}

.plan-category {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.plan-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;    
}

/* 혜택 정보 */
.benefits {
    margin-bottom: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.benefit-item.cash-gift .benefit-text {
    color: #dc3545;
    font-weight: 600;
    font-size: 15px;
}

.benefit-item.discount .benefit-text {
    color: #333;
    font-size: 14px;
}

.benefit-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.benefit-event-icon {
    color: #e53935;
    font-size: 16px;
    margin-right: 2px;
}

/* 가격 섹션 */
.price-section {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.original-price {
    color: #6c757d;
    font-size: 14px;
    text-decoration: line-through;
}

.final-price {
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

/* 카드 오른쪽 영역 (체크박스) */
.plan-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

/* 체크박스 스타일 */
.plan-checkbox {
    display: none;
}

.checkbox-label {
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-checkbox:checked + .checkbox-label::after {
    opacity: 1;
}

/* 상담 안내 섹션 */
.consult-info-section {
    text-align: center;
    margin-bottom: -15px;
}    

.consult-text {
    color: #6c757d;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
    margin: 0;
    text-decoration: underline;
    text-align: right;
    padding-right: 5px;
}

.consult-text:hover {
    color: #1976d2;
    text-decoration: underline;
}

/* 하단 버튼들 */
.bottom-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-secondary {
    flex: 1;
    padding: 14px 20px;
    background: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary {
    flex: 2;
    padding: 14px 20px;
    background: #333;
    color: #f5f5f5;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
    background: #f5f5f5;
    color: #333;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .internet-price-result-container {
        padding: 15px;
    }
    
    .main-title h1 {
        font-size: 20px;
    }
    
    .plan-content {
        padding: 16px;
        gap: 12px;
    }
    
    .plan-left {
        gap: 12px;
    }
    
    .kt-logo {
        width: 40px;
        height: 40px;
    }
    
    .plan-name {
        font-size: 16px;
    }
    
    .final-price {
        font-size: 16px;
    }
    
    .benefit-item.cash-gift .benefit-text {
        font-size: 14px;
    }
    
    .bottom-buttons {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-primary {
        padding: 12px 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .internet-price-result-container {
        padding: 10px;
    }
    
    .top-tags .tag {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .main-title h1 {
        font-size: 18px;
    }
    
    .plan-content {
        padding: 12px;
        gap: 10px;
    }
    
    .kt-logo {
        width: 36px;
        height: 36px;
    }
    
    .plan-name {
        font-size: 15px;
    }
    
    .benefit-item.cash-gift .benefit-text {
        font-size: 13px;
    }
    
    .final-price {
        font-size: 15px;
    }
} 

/* ===== 결과 카드 첨부 이미지 스타일 ===== */
.plan-card {
    background: #fff;
    border: none;
    border-radius: 14px;    
    padding: 0 0 18px 0;    
    position: relative;
}
.plan-header-row {
    display: flex;
    align-items: center;    
    padding: 18px 18px 0 0px;
}
.result-provider-logo {
    width: 40px;
    height: 20px;
    object-fit: contain;
    border-radius: 6px;
}
.plan-type {
    color: #888;
    font-size: 15px;
    font-weight: 500;
    margin-left: 2px;
}
.plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    padding: 2px 18px 10px 6px;
}
.plan-detail-box {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;    
    padding: 18px 18px 10px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.plan-benefit-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
}
.plan-benefit-row .benefit-icon {
    font-size: 18px;
    margin-right: 2px;
}
.plan-benefit-row .highlight {
    color: #e53935;
    font-weight: 700;
}
.plan-price-row {        
    margin-top: 8px;
    font-size: 18px;
    text-align: right;
    border-top: 1px dashed #eee;
}
.plan-price-row .original-price {
    color: #bbb;
    font-size: 16px;
    text-decoration: line-through;
    font-weight: 400;
}
.plan-price-row .final-price {
    color: #111;
    font-size: 22px;
    font-weight: 700;
}
.plan-check-row {
    position: absolute;
    right: 18px;
    top: 22%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}
.plan-checkbox {
    display: none;
}
.checkbox-label {
    display: block;
    width: 26px;
    height: 26px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.checkbox-label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.plan-checkbox:checked + .checkbox-label {
    background: #333;    
    border-color: #333;
}
.plan-checkbox:checked + .checkbox-label::after {
    opacity: 1;
}
@media (max-width: 600px) {
    .plan-card { padding: 0 0 12px 0; }
    .plan-header-row, .plan-detail-box { padding-left: 10px; padding-right: 10px; }
    .plan-name { font-size: 18px; padding-left: 10px; padding-right: 10px; }
    .plan-detail-box { padding-top: 12px; padding-bottom: 6px; }
    .plan-price-row .final-price { font-size: 18px; }
    .plan-price-row .original-price { font-size: 14px; }
    .plan-benefit-row { font-size: 14px; }
    .plan-benefit-row .benefit-icon { font-size: 15px; }
    .checkbox-label { width: 22px; height: 22px; }
} 

/* 상담 텍스트 애니메이션 효과 */
#consult-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#consult-text.show {
    opacity: 1;
    transform: translateY(0);
}

/* 깜빡이는 효과 추가 */
#consult-text.show {
    animation: growFromCenter 0.6s ease-out forwards;
}

@keyframes consultTextAppear {
    from {
        transform: scale(0);
        opacity: 0;
      }
      /* 종료 상태: 원래 크기, 완전히 불투명 */
    to {
    transform: scale(1);
    opacity: 1;
    }
}

@keyframes consultTextBlink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.7;
    }
}

 /* 팁 컨테이너 스타일 */
 .tip-container {    
    position: relative;
    max-width: 500px;   
}

/* 팁 헤더 */
.tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 팁 배지 */
.tip-badge {
    background: #99d2fb24;
    color: #2c93ef;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    
    /*letter-spacing: 0.5px; 자간 */ 
}

/* 팁 내용 */
.tip-content {
    color: #2c93ef;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    text-align: left;    
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .tip-container {
        padding: 12px;
        margin-top: 8px;        
    }
    .tip-content {
        font-size: 14px;
    }
    
    .tip-badge {
        font-size: 13px;
        padding: 3px 6px;
    }
}

/* 작은 모바일 화면 */
@media (max-width: 480px) {
    .tip-container {
        max-width: 100%;
        padding: 0px;
    }
    
    .tip-content {
        font-size: 12px;
    }
}

/* ===== 다른 통신사 비교 기능 스타일 ===== */

/* 메인 카드 컨테이너 */
.main-plan-cards {
    transition: opacity 0.3s ease;
}

/* 다른 통신사 토글 버튼 */
.other-providers-toggle {
    display: flex;
    justify-content: center;    
}

.toggle-other-providers-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 0.5px solid #fff;    
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.toggle-other-providers-btn:active {
    transform: translateY(0);
}

.toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

/* 다른 통신사 카드 컨테이너 */
.other-providers-cards {
    margin-top: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.other-providers-cards.show {
    opacity: 1;
    transform: translateY(0);
}

/* 다른 통신사 카드 스타일 */
.other-plan-card {
    margin-bottom: 15px;    
}

/* 다른 통신사 카드 애니메이션 */
.other-plan-card:nth-child(1) { animation-delay: 0.1s; }
.other-plan-card:nth-child(2) { animation-delay: 0.2s; }
.other-plan-card:nth-child(3) { animation-delay: 0.3s; }
.other-plan-card:nth-child(4) { animation-delay: 0.4s; }
.other-plan-card:nth-child(5) { animation-delay: 0.5s; }
.other-plan-card:nth-child(6) { animation-delay: 0.6s; }
.other-plan-card:nth-child(7) { animation-delay: 0.7s; }
.other-plan-card:nth-child(8) { animation-delay: 0.8s; }

/* 비교 아이템들 - 3칸 그리드 */
.comparison-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.comparison-item {    
    border-radius: 12px;
    padding: 5px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.comparison-item:hover {
    background: #e9ecef;
}

.comparison-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comparison-provider-logo {
    width: 32px;
    height: 16px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.comparison-item-info {
    flex: 1;
    min-width: 0;
}

.comparison-provider-name {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 2px;
}

.comparison-plan-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.comparison-plan-type {
    font-size: 11px;
    color: #2c93ef;
    background: #99d2fb24;
    padding: 2px 6px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.comparison-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.comparison-remove-btn:hover {
    background: #c82333;
}

/* 추천 결과 섹션 */
.recommendation-section {
    margin-bottom: 20px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.recommendation-item {    
    border-radius: 15px;
    padding: 5px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.recommendation-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.recommendation-plan {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.recommendation-logo {
    width: 28px;
    height: 14px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.recommendation-info {
    flex: 1;
    min-width: 0;
}

.recommendation-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.2;
}

.recommendation-price {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    text-align: right;
}

/* 분석 토글 버튼 */
.analysis-toggle-section {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid #dee2e6;
}

.analysis-toggle-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.analysis-toggle-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.analysis-toggle-btn .toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.analysis-toggle-btn.active .toggle-arrow {
    transform: rotate(180deg);
}

/* 비교 분석 */
.comparison-analysis {    
    padding-top: 20px;
    margin-top: 10px;
}

.analysis-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.analysis-section {
    margin-bottom: 20px;
}

.analysis-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.analysis-content {
    /* 분석 컨텐츠 스타일은 하위 요소에서 정의 */
}

.analysis-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.analysis-row.best {
    border: 1px solid #333;
}

.analysis-row.middle {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    opacity: 0.7;
}

.analysis-row.worst {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    opacity: 0.4;
}

.analysis-rank {
    font-size: 16px;
    flex-shrink: 0;
}

.analysis-info {
    flex: 1;
}

.analysis-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.analysis-provider {
    font-size: 11px;
    color: #6c757d;
}

.analysis-price {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

/* ===== 인터넷 상품 비교함 스타일 ===== */

/* 비교함 백드롭 */
.comparison-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.comparison-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* 비교함 사이드패널 */
.comparison-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.comparison-panel.show {
    right: 0;
}

/* 비교함 헤더 */
.comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.close-comparison-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-comparison-btn:hover {
    background: #e9ecef;
    color: #495057;
}

/* 비교함 컨텐츠 */
.comparison-content {
    flex: 1;
    padding: 20px;
}

.comparison-count {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

/* 비어있을 때 */
.comparison-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 모바일 반응형 - 비교함 */
@media (max-width: 768px) {
    .comparison-panel {
        width: 80%;
        right: -80%;
    }
    
    .comparison-header {
        padding: 16px;
    }
    
    .comparison-title {
        font-size: 16px;
    }
    
    .comparison-content {
        padding: 16px;
    }
    
    .comparison-item {
        padding: 12px;
    }
    
    .comparison-provider-logo {
        width: 28px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .comparison-header {
        padding: 12px;
    }
    
    .comparison-title {
        font-size: 15px;
    }
    
    .comparison-content {
        padding: 12px;
    }
    
    .comparison-item {
        padding: 10px;
    }
    
    .analysis-row {
        padding: 8px;
    }
}

/* 모바일 반응형 - 다른 통신사 */
@media (max-width: 768px) {
    .toggle-other-providers-btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .other-providers-cards {
        margin-top: 10px;
    }
    
    .other-plan-card {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {    
    
    .toggle-other-providers-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .toggle-arrow {
        font-size: 10px;
    }
    
    .other-plan-card {
        margin-bottom: 10px;
    }
}

/* 선택된 요금제 요약 스타일 */
.selected-plans-summary {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.summary-label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.summary-value {
    color: #333;
    font-weight: 500;
    flex: 1;
}

.summary-value.no-selection {
    color: #6c757d;
    font-style: italic;
}

.summary-value.selected {
    color: #462cc5;
    font-weight: 600;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .selected-plans-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem;
    }
    
    .summary-label {
        min-width: auto;
        margin-bottom: 0.2rem;
    }
}