/* ===== 견적 완료 페이지 =====*/


.result_address {
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.estimate-complete-main .inner {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* 완료 헤더 */
.complete-header {
    background: #2c3e50;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    border: 3px solid #3498db;
}

.complete-header .check-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.complete-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.complete-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
}

/* 비교 카드 */
.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.card-content {
    margin-bottom: 16px;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.item:last-child {
    margin-bottom: 0;
}

.item span:first-child {
    color: #666;
    font-weight: 500;
}

.item .value {
    color: #2c3e50;
    font-weight: 700;
    text-align: right;
}

.card .total {
    background: #f9f9f9;
    padding: 14px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    text-align: right;
}

/* 필요 추가 자본금 */
.required-funds {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.required-funds h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
}

.funds-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.fund-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    text-align: center;
}

.fund-item:last-child {
    background: #fff5f5;
    border-color: #f0d4d4;
}

.fund-label {
    color: #666;
    font-weight: 500;
    font-size: 16px;
}

.fund-value {
    font-weight: 700;
    color: #2c3e50;
    font-size: 20px;
}

.fund-value.highlight {
    color: #e74c3c;
    font-size: 24px;
    font-weight: 700;
}

/* 액션 버튼 */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

.btn-secondary,
.btn-primary {
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary {
    background: white;
    color: #2c3e50;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #f9f9f9;
    border-color: #999;
}

.btn-secondary .arrow {
    font-size: 18px;
}

.btn-primary {
    background: #2c3e50;
    color: white;
    justify-content: center;
}

.btn-primary:hover {
    background: #1a252f;
}


/* ===== 반응형 (태블릿: 1024px 이하) ===== */
@media (max-width: 1024px) {
    .estimate-complete-main .inner {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .result_address {
        font-size: 20px;
    }

    .complete-header {
        padding: 30px;
    }

    .complete-header h1 {
        font-size: 32px;
    }

    .complete-header p {
        font-size: 15px;
    }

    .comparison-cards {
        gap: 12px;
    }

    .card h3 {
        font-size: 15px;
    }

    .item {
        font-size: 14px;
    }

    .card .total {
        font-size: 16px;
    }

    .funds-content {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fund-label {
        font-size: 14px;
    }

    .fund-value {
        font-size: 18px;
    }

    .fund-value.highlight {
        font-size: 20px;
    }
}

/* ===== 반응형 (모바일: 768px 이하) ===== */
@media (max-width: 768px) {
    .estimate-complete-main .inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .result_address {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .complete-header {
        padding: 24px;
        margin-bottom: 32px;
        border-radius: 6px;
    }

    .header-icon {
        font-size: 40px;
    }

    .complete-header h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .complete-header p {
        font-size: 14px;
        line-height: 1.5;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .card {
        padding: 16px;
    }

    .card h3 {
        font-size: 14px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .card-content {
        margin-bottom: 12px;
    }

    .item {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .item span:first-child {
        color: #666;
    }

    .card .total {
        padding: 12px;
        font-size: 16px;
    }

    .required-funds {
        padding: 16px;
        margin-bottom: 20px;
    }

    .required-funds h3 {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .funds-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fund-item {
        padding: 16px;
    }

    .fund-label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .fund-value {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .fund-value.highlight {
        font-size: 20px;
    }

    .fund-note {
        font-size: 11px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 30px;
    }

    .btn-secondary,
    .btn-primary {
        padding: 14px;
        font-size: 14px;
        border-radius: 6px;
    }

    .btn-secondary .arrow {
        font-size: 16px;
    }

    .btn-secondary .text {
        font-size: 13px;
    }
}

/* ===== 반응형 (소형 모바일: 480px 이하) ===== */
@media (max-width: 480px) {
    .estimate-complete-main .inner {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .result_address {
        font-size: 16px;
        word-break: break-word;
        margin-bottom: 14px;
    }

    .complete-header {
        padding: 20px;
        margin-bottom: 24px;
        border: 2px solid #3498db;
    }

    .header-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .complete-header h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .complete-header p {
        font-size: 13px;
    }

    .comparison-cards {
        gap: 10px;
        margin-bottom: 18px;
    }

    .card {
        padding: 14px;
    }

    .card h3 {
        font-size: 13px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .card-content {
        margin-bottom: 10px;
    }

    .item {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .card .total {
        padding: 10px;
        font-size: 14px;
    }

    .required-funds {
        padding: 14px;
        margin-bottom: 18px;
    }

    .required-funds h3 {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .funds-content {
        gap: 10px;
    }

    .fund-item {
        padding: 12px;
    }

    .fund-label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .fund-value {
        font-size: 16px;
    }

    .fund-value.highlight {
        font-size: 18px;
    }

    .fund-note {
        font-size: 10px;
        margin-top: 2px;
    }

    .action-buttons {
        gap: 8px;
        margin-bottom: 20px;
    }

    .btn-secondary,
    .btn-primary {
        padding: 12px;
        font-size: 13px;
    }

    .btn-secondary {
        gap: 6px;
    }

    .btn-secondary .arrow {
        font-size: 14px;
    }

    .btn-secondary .text {
        font-size: 12px;
    }
}
