/* Common Calculator Styles - Based on CALQ Design */
/* Primary Color: #319C80 */

/* ========================================
   BASE STYLES
   ======================================== */
.calculator-page {
    background-color: white;
    min-height: 100vh;
    padding-top: 100px; /* 고정 헤더 높이만큼 여백 */
    padding-bottom: 40px;
}

/* ========================================
   CALCULATOR HEADER
   ======================================== */
.calc-header {
    text-align: center;
    padding: 40px 20px 30px;
}

.calc-header-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.calc-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0;
}

.calc-header p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   TAB NAVIGATION
   ======================================== */
.calc-tabs {
    display: flex;
    max-width: 700px;
    margin: 0 auto 30px;
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 4px;
}

.calc-tab {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #888;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-tab.active {
    background-color: #319C80;
    color: #fff;
    box-shadow: 0 2px 8px rgba(49, 156, 128, 0.3);
}

.calc-tab:hover:not(.active) {
    color: #319C80;
    background-color: rgba(49, 156, 128, 0.08);
}

/* ========================================
   MAIN CONTAINER
   ======================================== */
.calc-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   CARD SECTION
   ======================================== */
.calc-card {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.calc-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #F0F0F0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-card-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #319C80 0%, #28816c 100%);
    border-radius: 2px;
}

/* ========================================
   CHECKBOX GROUP (월급/연봉 style)
   ======================================== */
.calc-checkbox-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.calc-checkbox-group label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.calc-checkbox input[type="checkbox"],
.calc-checkbox input[type="radio"] {
    display: none;
}

.calc-checkbox .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #D0D0D0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
}

.calc-checkbox input:checked + .checkmark {
    background-color: #319C80;
    border-color: #319C80;
}

.calc-checkbox .checkmark::after {
    content: '';
    display: none;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.calc-checkbox input:checked + .checkmark::after {
    display: block;
}

.calc-checkbox span:last-child {
    font-size: 15px;
    color: #333;
}

/* ========================================
   FORM GROUP / INPUT FIELD
   ======================================== */
.calc-form-group {
    margin-bottom: 24px;
}

.calc-form-group:last-child {
    margin-bottom: 0;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calc-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.calc-value-display {
    font-size: 15px;
    font-weight: 700;
    color: #319C80;
}

.calc-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #FAFAFA;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.calc-input:focus {
    outline: none;
    border-color: #319C80;
    background: #fff;
}

.calc-input::placeholder {
    color: #999;
}

/* ========================================
   RANGE SLIDER
   ======================================== */
.calc-slider-container {
    position: relative;
    padding-top: 30px;
    margin-top: 8px;
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #319C80;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin-top: -7px;
    margin-left: -2px;
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #319C80;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.calc-slider::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #319C80 0%, #319C80 var(--slider-progress, 0%), #E0E0E0 var(--slider-progress, 0%), #E0E0E0 100%);
    height: 6px;
    border-radius: 3px;
}

.calc-slider-tooltip {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.calc-slider-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

.calc-slider-labels {
    display: flex;
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}

.calc-slider-labels span {
    flex: 1;
}

.calc-slider-labels span:first-child {
    text-align: left;
}

.calc-slider-labels span:nth-child(2) {
    text-align: center;
}

.calc-slider-labels span:last-child {
    text-align: right;
}

/* ========================================
   NUMBER STEPPER (+/- buttons)
   ======================================== */
.calc-stepper-container {
    position: relative;
    padding: 0 40px;
}

.calc-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.calc-stepper-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #E0E0E0;
    background: #fff;
    border-radius: 50%;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.calc-stepper-btn:hover {
    border-color: #319C80;
    color: #319C80;
}

.calc-stepper-slider {
    flex: 1;
    margin: 0 16px;
}

.calc-stepper-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #319C80;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.calc-stepper-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #319C80;
}

/* ========================================
   OPTION BUTTONS (80%, 100%, 120%)
   ======================================== */
.calc-option-buttons {
    display: flex;
    gap: 12px;
}

.calc-option-btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-option-btn:hover {
    border-color: #319C80;
    color: #319C80;
}

.calc-option-btn.active {
    background-color: #319C80;
    border-color: #319C80;
    color: #fff;
}

/* ========================================
   SECONDARY BUTTON (비과세 항목 설정하기)
   ======================================== */
.calc-btn-secondary {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    color: #666;
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-btn-secondary:hover {
    background: #F0F0F0;
    border-color: #D0D0D0;
}

/* ========================================
   ACTION BUTTONS (초기화 / 계산하기)
   ======================================== */
.calc-action-buttons {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 30px auto 40px;
    padding: 0 20px;
    justify-content: flex-end;
}

.calc-btn-reset {
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #4A4A4A;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    width: 180px;
    white-space: nowrap;
    line-height: 1;
}

.calc-btn-reset:hover {
    background: #333;
}

.calc-btn-reset svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.calc-btn-submit {
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #319C80;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    width: auto;
    min-width: 160px;
    white-space: nowrap;
    line-height: 1;
}

.calc-btn-submit:hover {
    background: #28816c;
}

.calc-btn-submit svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.calc-btn-submit img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    display: block;
    transform: translateY(2px);
}

/* ========================================
   RESULT SECTION
   ======================================== */
.calc-result-section {
    display: none;
}

.calc-result-section.active {
    display: block;
}

.calc-result-card {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.calc-result-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
    text-align: center;
}

/* Result Item - Enhanced Design */
.calc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    margin: 0 -16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.calc-result-item:nth-child(odd) {
    background-color: #FAFBFC;
}

.calc-result-item:hover {
    background-color: #F0F7F5;
}

.calc-result-item-label {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-result-item-label::before {
    content: '';
    width: 4px;
    height: 4px;
    background-color: #319C80;
    border-radius: 50%;
    flex-shrink: 0;
}

.calc-result-item-value {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-align: right;
}

/* Result Item Variants */
.calc-result-item.total-row {
    background: linear-gradient(135deg, #F0F9F6 0%, #E8F5F1 100%);
    border: 1px solid #D0E8E0;
    margin-top: 12px;
    padding: 16px;
}

.calc-result-item.total-row .calc-result-item-label {
    font-weight: 600;
    color: #222;
}

.calc-result-item.total-row .calc-result-item-label::before {
    width: 6px;
    height: 6px;
    background-color: #319C80;
}

.calc-result-item.total-row .calc-result-item-value {
    font-size: 18px;
    font-weight: 700;
    color: #319C80;
}

.calc-result-item.highlight-row {
    background-color: #FFF9E6;
    border-left: 3px solid #F5A623;
}

.calc-result-item.highlight-row .calc-result-item-label::before {
    background-color: #F5A623;
}

.calc-result-item.deduction-row .calc-result-item-value {
    color: #E74C3C;
}

.calc-result-item.deduction-row .calc-result-item-label::before {
    background-color: #E74C3C;
}

/* Result Highlight Box - Enhanced */
.calc-result-highlight {
    background: linear-gradient(135deg, #319C80 0%, #28816c 100%);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(49, 156, 128, 0.25);
    position: relative;
    overflow: hidden;
}

.calc-result-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.calc-result-highlight::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.calc-result-highlight-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.calc-result-highlight-value {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Result Group Section */
.calc-result-group {
    margin-bottom: 20px;
}

.calc-result-group-title {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E8E8E8;
}

/* Result Summary Box */
.calc-result-summary {
    background: #F8FAFB;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.calc-result-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.calc-result-summary-row:not(:last-child) {
    border-bottom: 1px dashed #E0E0E0;
}

.calc-result-summary-label {
    font-size: 13px;
    color: #666;
}

.calc-result-summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Result Note */
.calc-result-note {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-top: 16px;
    padding: 12px 16px;
    background: #FAFAFA;
    border-radius: 8px;
    border-left: 3px solid #319C80;
}

/* Result Badge */
.calc-result-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-left: 8px;
}

.calc-result-badge.positive {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.calc-result-badge.negative {
    background-color: #FFEBEE;
    color: #C62828;
}

.calc-result-badge.neutral {
    background-color: #E3F2FD;
    color: #1565C0;
}

/* ========================================
   DIVIDER
   ======================================== */
.calc-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E0E0E0, transparent);
    margin: 20px 0;
}

.calc-divider.solid {
    background: #E8E8E8;
}

.calc-divider.dashed {
    height: 0;
    border-top: 1px dashed #D0D0D0;
}

/* ========================================
   TOGGLE SWITCH (Alternative style)
   ======================================== */
.calc-toggle-group {
    display: flex;
    background: #F5F5F5;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
}

.calc-toggle-option {
    flex: 1;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.calc-toggle-option.active {
    background: #319C80;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(49, 156, 128, 0.3);
}

/* ========================================
   SELECT DROPDOWN
   ======================================== */
.calc-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #FAFAFA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 16px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

.calc-select:focus {
    outline: none;
    border-color: #319C80;
    background-color: #fff;
}

/* ========================================
   RADIO BUTTON GROUP
   ======================================== */
.calc-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-radio-option:hover {
    border-color: #319C80;
}

.calc-radio-option.active {
    border-color: #319C80;
    background: rgba(49, 156, 128, 0.05);
}

.calc-radio-option input[type="radio"] {
    display: none;
}

.calc-radio-option .radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #D0D0D0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.calc-radio-option.active .radio-circle {
    border-color: #319C80;
}

.calc-radio-option .radio-circle::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #319C80;
    border-radius: 50%;
    display: none;
}

.calc-radio-option.active .radio-circle::after {
    display: block;
}

.calc-radio-option .radio-label {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* ========================================
   GRID LAYOUT (for side-by-side inputs)
   ======================================== */
.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .calc-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   DATE INPUT
   ======================================== */
.calc-date-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #FAFAFA;
    box-sizing: border-box;
}

.calc-date-input:focus {
    outline: none;
    border-color: #319C80;
    background: #fff;
}

/* ========================================
   INFO BOX
   ======================================== */
.calc-info-box {
    background: #F8FAF9;
    border-left: 4px solid #319C80;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-top: 16px;
}

.calc-info-box p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ========================================
   TAB CONTENT VISIBILITY
   ======================================== */
.calc-tab-content {
    display: none;
}

.calc-tab-content.active {
    display: block;
}

/* ========================================
   SERVICE GRID (병종 선택 등)
   ======================================== */
.calc-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.calc-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    background: #fff;
}

.calc-service-item:hover {
    border-color: #319C80;
}

.calc-service-item.active,
.calc-service-item:has(input:checked) {
    background-color: #319C80;
    border-color: #319C80;
    color: #fff;
}

.calc-service-item input[type="radio"] {
    display: none;
}

.calc-service-item .service-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.calc-service-item .service-duration {
    font-size: 12px;
    opacity: 0.8;
}

/* ========================================
   PROGRESS BAR
   ======================================== */
.calc-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
}

.calc-progress-bar-inner {
    height: 100%;
    background-color: #319C80;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ========================================
   MULTI-STEP FORM
   ======================================== */
.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
}

/* ========================================
   ADDON GRID (이사비용 추가 옵션 등)
   ======================================== */
.calc-addon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.calc-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #FAFAFA;
    border-radius: 8px;
    border: 1px solid #E8E8E8;
}

.calc-addon-item span {
    font-size: 14px;
    color: #333;
}

.calc-addon-item input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 14px;
}

/* ========================================
   SCROLLABLE TABS (많은 탭이 있을 때)
   ======================================== */
.calc-tabs-scrollable {
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.calc-tabs-scrollable::-webkit-scrollbar {
    display: none;
}

.calc-tabs-scrollable .calc-tab {
    flex: none;
    min-width: auto;
    white-space: nowrap;
    padding: 12px 16px;
    font-size: 14px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .calculator-page {
        padding-top: 70px; /* 모바일 헤더 높이 */
    }
}

@media (max-width: 768px) {
    .calc-header h1 {
        font-size: 24px;
    }

    .calc-tabs {
        max-width: 100%;
        margin: 0 20px 30px;
    }

    .calc-tab {
        padding: 12px 16px;
        font-size: 14px;
    }

    .calc-card {
        padding: 20px;
    }

    .calc-action-buttons {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .calc-btn-reset,
    .calc-btn-submit {
        padding: 10px 20px;
        font-size: 14px;
        width: auto;
        min-width: 160px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .calc-option-buttons {
        flex-direction: row;
        gap: 8px;
    }

    .calc-option-btn {
        padding: 12px 8px;
        font-size: 14px;
    }

    .calc-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-addon-grid {
        grid-template-columns: 1fr;
    }

    /* 슬라이더 모바일 최적화 */
    .calc-slider-container {
        padding-top: 35px;
    }

    .calc-slider-tooltip {
        font-size: 12px;
        padding: 5px 10px;
    }

    .calc-slider-labels {
        font-size: 11px;
    }

    /* 스테퍼 모바일 최적화 */
    .calc-stepper-container {
        padding: 0 20px;
    }

    .calc-stepper-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .calc-stepper-tooltip {
        font-size: 13px;
        padding: 5px 12px;
    }

    /* 체크박스 그룹 모바일 (세로 배치) */
    .calc-checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .calc-checkbox-group > label:first-child {
        margin-bottom: 4px;
    }

    /* 토글 그룹 모바일 */
    .calc-toggle-group {
        padding: 3px;
    }

    .calc-toggle-option {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* 결과 하이라이트 모바일 */
    .calc-result-highlight {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .calc-result-highlight-value {
        font-size: 28px;
    }

    .calc-result-highlight-label {
        font-size: 13px;
    }

    /* 결과 아이템 모바일 */
    .calc-result-item {
        padding: 12px 14px;
        margin: 0 -14px;
    }

    .calc-result-item-label {
        font-size: 13px;
    }

    .calc-result-item-value {
        font-size: 14px;
    }

    .calc-result-item.total-row .calc-result-item-value {
        font-size: 16px;
    }

    /* 서비스 그리드 모바일 */
    .calc-service-item {
        padding: 14px 10px;
    }

    .calc-service-item .service-name {
        font-size: 13px;
    }

    .calc-service-item .service-duration {
        font-size: 11px;
    }

    /* 진행률 바 모바일 */
    .calc-progress-bar {
        height: 5px;
        margin-bottom: 20px;
    }

    /* 스크롤 가능한 탭 모바일 */
    .calc-tabs-scrollable {
        margin: 0 16px 24px;
    }

    .calc-tabs-scrollable .calc-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* 라디오 옵션 모바일 */
    .calc-radio-option {
        padding: 14px;
    }

    .calc-radio-option .radio-label {
        font-size: 14px;
    }

    /* 드롭다운 모바일 */
    .calc-select {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* 정보 박스 모바일 */
    .calc-info-box {
        padding: 14px;
    }

    .calc-info-box p {
        font-size: 13px;
    }

    /* 입력 필드 모바일 */
    .calc-input {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* 날짜 입력 모바일 */
    .calc-date-input {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* 카드 제목 모바일 */
    .calc-card-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    /* 라벨 모바일 */
    .calc-label {
        font-size: 14px;
    }

    .calc-value-display {
        font-size: 14px;
    }

    /* 모바일 스와이프 탭 전환 */
    .calc-tab-content {
        transition: opacity 0.2s ease;
    }

    .calc-tab-content.active {
        animation: fadeIn 0.2s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(10px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* 스와이프 힌트 인디케이터 */
    .swipe-indicator {
        text-align: center;
        font-size: 12px;
        color: #999;
        padding: 8px 0;
    }
}
