/* 수리 자동견적서 페이지 CSS - 수리나인 */

/* 히어로 섹션 */
.ai_estimate_hero {
    background: linear-gradient(135deg, var(--ai-primary-color) 0%, #003dcc 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai_estimate_hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.ai_estimate_hero_content {
    position: relative;
    z-index: 2;
}

.ai_estimate_hero_title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ai_estimate_hero_subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ai_estimate_hero_features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ai_estimate_feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.ai_estimate_feature i {
    font-size: 1.2rem;
    color: var(--ai-accent-color);
}

/* 견적서 폼 섹션 */
.ai_estimate_form_section {
    padding: 80px 0;
    background: var(--ai-light-gray);
}

.ai_estimate_form_container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 진행 단계 표시 */
.ai_estimate_progress {
    padding: 40px 40px 20px;
    background: white;
    border-bottom: 1px solid var(--ai-border-color);
}

.ai_estimate_progress_bar {
    height: 4px;
    background: var(--ai-border-color);
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.ai_estimate_progress_fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ai-primary-color), var(--ai-accent-color));
    border-radius: 2px;
    width: 25%;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai_estimate_progress_steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.ai_estimate_step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    position: relative;
}

.ai_estimate_step_number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ai-border-color);
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.ai_estimate_step.active .ai_estimate_step_number {
    background: var(--ai-primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 87, 255, 0.3);
}

.ai_estimate_step.completed .ai_estimate_step_number {
    background: var(--ai-accent-color);
    color: white;
}

.ai_estimate_step_label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-align: center;
}

.ai_estimate_step.active .ai_estimate_step_label {
    color: var(--ai-primary-color);
    font-weight: 600;
}

/* 폼 래퍼 */
.ai_estimate_form_wrapper {
    padding: 40px;
}

.ai_estimate_form {
    position: relative;
}

.ai_estimate_step_content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.ai_estimate_step_content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai_estimate_step_header {
    text-align: center;
    margin-bottom: 40px;
}

.ai_estimate_step_header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ai-primary-color);
    margin-bottom: 10px;
}

.ai_estimate_step_header p {
    font-size: 1.1rem;
    color: #666;
}

/* 옵션 카드 그리드 */
.ai_estimate_options_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ai_estimate_option_card {
    background: white;
    border: 2px solid var(--ai-border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.ai_estimate_option_card:hover::before {
    left: 100%;
}

.ai_estimate_option_card:hover {
    border-color: var(--ai-primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 87, 255, 0.15);
}

.ai_estimate_option_card.selected {
    border-color: var(--ai-primary-color);
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.05), rgba(0, 87, 255, 0.02));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 87, 255, 0.2);
}

.ai_estimate_option_image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 2;
}

.ai_estimate_option_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ai_estimate_option_card:hover .ai_estimate_option_image img {
    transform: scale(1.05);
}

.ai_estimate_option_content {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ai_estimate_option_content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ai-text-color);
    margin: 0 0 12px 0;
}

.ai_estimate_option_content p {
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
    flex: 1;
}

.ai_estimate_option_price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ai-primary-color);
    background: rgba(0, 87, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-top: auto;
}

/* 폼 필드 */
.ai_estimate_form_fields {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.ai_estimate_label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ai-text-color);
}

.ai_estimate_input,
.ai_estimate_select,
.ai_estimate_textarea {
    padding: 15px 20px;
    border: 2px solid var(--ai-border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.ai_estimate_input:focus,
.ai_estimate_select:focus,
.ai_estimate_textarea:focus {
    outline: none;
    border-color: var(--ai-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.1);
}

.ai_estimate_textarea {
    resize: vertical;
    min-height: 100px;
}

.ai_estimate_input_group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 체크박스 및 라디오 버튼 */
.ai_estimate_checkbox_group,
.ai_estimate_radio_group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai_estimate_checkbox_label,
.ai_estimate_radio_label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ai_estimate_checkbox_label:hover,
.ai_estimate_radio_label:hover {
    background: rgba(0, 87, 255, 0.05);
    border-color: rgba(0, 87, 255, 0.2);
}

.ai_estimate_checkbox_custom,
.ai_estimate_radio_custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--ai-border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ai_estimate_radio_custom {
    border-radius: 50%;
}

.ai_estimate_checkbox_custom::after,
.ai_estimate_radio_custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.ai_estimate_checkbox_custom::after {
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.ai_estimate_radio_custom::after {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.ai_estimate_checkbox_label input:checked + .ai_estimate_checkbox_custom,
.ai_estimate_radio_label input:checked + .ai_estimate_radio_custom {
    background: var(--ai-primary-color);
    border-color: var(--ai-primary-color);
}

.ai_estimate_checkbox_label input:checked + .ai_estimate_checkbox_custom::after,
.ai_estimate_radio_label input:checked + .ai_estimate_radio_custom::after {
    opacity: 1;
}

.ai_estimate_checkbox_text,
.ai_estimate_radio_text {
    font-size: 1rem;
    color: var(--ai-text-color);
}

/* 네비게이션 버튼 */
.ai_estimate_navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--ai-border-color);
}

.ai_estimate_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.ai_estimate_btn::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 ease;
}

.ai_estimate_btn:hover::before {
    left: 100%;
}

.ai_estimate_btn_primary {
    background: linear-gradient(135deg, var(--ai-primary-color), #003dcc);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 87, 255, 0.3);
}

.ai_estimate_btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 87, 255, 0.4);
}

.ai_estimate_btn_secondary {
    background: white;
    color: var(--ai-primary-color);
    border: 2px solid var(--ai-primary-color);
}

.ai_estimate_btn_secondary:hover {
    background: var(--ai-primary-color);
    color: white;
    transform: translateY(-2px);
}

.ai_estimate_btn_success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.ai_estimate_btn_success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* 견적 결과 */
.ai_estimate_result_container {
    background: white;
    border: 2px solid var(--ai-border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.ai_estimate_result_header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ai-border-color);
}

.ai_estimate_result_title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ai-primary-color);
    margin-bottom: 10px;
}

.ai_estimate_result_subtitle {
    color: #666;
    font-size: 1rem;
}

.ai_estimate_result_content {
    display: grid;
    gap: 20px;
}

.ai_estimate_result_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--ai-border-color);
}

.ai_estimate_result_item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ai-primary-color);
    background: rgba(0, 87, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
}

.ai_estimate_result_label {
    font-weight: 500;
    color: var(--ai-text-color);
}

.ai_estimate_result_value {
    font-weight: 600;
    color: var(--ai-accent-color);
}

.ai_estimate_result_total {
    font-size: 1.3rem;
    color: var(--ai-primary-color);
}

/* 면책 조항 */
.ai_estimate_disclaimer {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.ai_estimate_disclaimer_header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
}

.ai_estimate_disclaimer_header h3 {
    color: #495057;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai_estimate_disclaimer_header h3::before {
    content: '⚠️';
    font-size: 1.1rem;
}

.ai_estimate_disclaimer_content {
    display: grid;
    gap: 20px;
}

.ai_estimate_disclaimer_item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--ai-primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ai_estimate_disclaimer_item h4 {
    color: var(--ai-primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai_estimate_disclaimer_item h4::before {
    content: '•';
    color: var(--ai-primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.ai_estimate_disclaimer_item p {
    color: #495057;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.ai_estimate_disclaimer_item p:last-child {
    margin-bottom: 0;
}

.ai_estimate_disclaimer_item strong {
    color: var(--ai-primary-color);
    font-weight: 600;
}

.ai_estimate_disclaimer_item ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    color: #495057;
}

.ai_estimate_disclaimer_item li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.ai_estimate_disclaimer_item li:last-child {
    margin-bottom: 0;
}

/* AI 진단 스타일 */
.ai_diagnosis_container {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e3f2fd;
    border-radius: 16px;
    padding: 30px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.ai_diagnosis_container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0057ff, #00bcd4, #4caf50);
}

.ai_diagnosis_header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e3f2fd;
}

.ai_diagnosis_title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0057ff;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ai_diagnosis_title i {
    font-size: 1.6rem;
    color: #00bcd4;
}

.ai_diagnosis_subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.ai_diagnosis_loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #0057ff;
    font-size: 1rem;
    font-weight: 500;
    padding: 20px;
}

.ai_diagnosis_loading i {
    font-size: 1.2rem;
}

.ai_diagnosis_content {
    line-height: 1.8;
    color: #333;
}

.ai_diagnosis_h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0057ff;
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3f2fd;
}

.ai_diagnosis_h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1976d2;
    margin: 20px 0 12px 0;
    padding-left: 15px;
    border-left: 4px solid #0057ff;
}

.ai_diagnosis_h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #424242;
    margin: 15px 0 10px 0;
}

.ai_diagnosis_p {
    margin: 12px 0;
    font-size: 1rem;
    line-height: 1.7;
}

.ai_diagnosis_strong {
    font-weight: 600;
    color: #0057ff;
}

.ai_diagnosis_em {
    font-style: italic;
    color: #666;
}

.ai_diagnosis_ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.ai_diagnosis_li {
    position: relative;
    padding: 8px 0 8px 25px;
    margin: 5px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.ai_diagnosis_li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0057ff;
    font-weight: bold;
    font-size: 1.2rem;
}

.ai_diagnosis_error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    color: #856404;
    font-weight: 500;
}

.ai_diagnosis_error i {
    color: #f39c12;
    font-size: 1.2rem;
}

/* AI 로딩 단계 스타일 */
.ai_loading_steps {
    padding: 20px 0;
}

.ai_loading_progress {
    width: 100%;
    height: 6px;
    background: #e3f2fd;
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.ai_loading_progress_bar {
    height: 100%;
    background: linear-gradient(90deg, #0057ff, #00bcd4, #4caf50);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.ai_loading_progress_bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.ai_loading_step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 87, 255, 0.1);
    margin-bottom: 25px;
    border: 2px solid #e3f2fd;
    transition: all 0.3s ease;
}

.ai_loading_step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 87, 255, 0.15);
}

.ai_loading_step_icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0057ff, #00bcd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ai_loading_step_content {
    flex: 1;
}

.ai_loading_step_title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0057ff;
    margin: 0 0 8px 0;
}

.ai_loading_step_description {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.ai_loading_step_spinner {
    color: #0057ff;
    font-size: 1.5rem;
}

.ai_loading_steps_list {
    display: grid;
    gap: 15px;
}

.ai_loading_step_item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9ff;
    border-radius: 8px;
    border: 1px solid #e3f2fd;
    transition: all 0.3s ease;
}

.ai_loading_step_item.active {
    background: linear-gradient(135deg, #e3f2fd, #f8f9ff);
    border-color: #0057ff;
    transform: scale(1.02);
}

.ai_loading_step_item.completed {
    background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
    border-color: #4caf50;
}

.ai_loading_step_item_icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.ai_loading_step_item:not(.completed):not(.active) .ai_loading_step_item_icon {
    background: #e0e0e0;
    color: #999;
}

.ai_loading_step_item.active .ai_loading_step_item_icon {
    background: #0057ff;
    color: white;
}

.ai_loading_step_item.completed .ai_loading_step_item_icon {
    background: #4caf50;
    color: white;
}

.ai_loading_step_item_text {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.ai_loading_step_item.active .ai_loading_step_item_text {
    color: #0057ff;
    font-weight: 600;
}

.ai_loading_step_item.completed .ai_loading_step_item_text {
    color: #4caf50;
}

/* 전체 화면 AI 로딩 오버레이 */
.ai_loading_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ai_loading_overlay_content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.ai_loading_overlay_header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0057ff;
    margin: 0 0 10px 0;
}

.ai_loading_overlay_header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 30px 0;
}

.ai_loading_overlay_progress {
    width: 100%;
    height: 8px;
    background: #e3f2fd;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.ai_loading_overlay_progress_bar {
    height: 100%;
    background: linear-gradient(90deg, #0057ff, #00bcd4, #4caf50);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.ai_loading_overlay_progress_bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.ai_loading_overlay_step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 2px solid #e3f2fd;
    text-align: left;
}

.ai_loading_overlay_step_icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0057ff, #00bcd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ai_loading_overlay_step_content {
    flex: 1;
}

.ai_loading_overlay_step_content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0057ff;
    margin: 0 0 8px 0;
}

.ai_loading_overlay_step_content p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.ai_loading_overlay_step_spinner {
    color: #0057ff;
    font-size: 1.5rem;
}

/* PDF 출력용 스타일 */
@media print {
    .ai_estimate_result_container {
        background: white !important;
        border: 1px solid #333 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 20px !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }
    
    .ai_estimate_result_header {
        border-bottom: 2px solid #333 !important;
        margin-bottom: 20px !important;
    }
    
    .ai_estimate_result_title {
        color: #0057ff !important;
        font-size: 24px !important;
    }
    
    .ai_estimate_result_item {
        border-bottom: 1px solid #ccc !important;
        padding: 10px 0 !important;
    }
    
    .ai_estimate_result_item:last-child {
        background: rgba(0, 87, 255, 0.1) !important;
        border: 2px solid #0057ff !important;
        border-radius: 8px !important;
        padding: 15px !important;
    }
    
    .ai_estimate_result_total {
        color: #0057ff !important;
        font-size: 18px !important;
        font-weight: 700 !important;
    }
    
    .ai_estimate_disclaimer {
        background: #f8f9fa !important;
        border: 1px solid #333 !important;
        border-radius: 4px !important;
        padding: 15px !important;
        margin-top: 15px !important;
        page-break-inside: avoid !important;
        box-sizing: border-box !important;
    }
    
    .ai_estimate_disclaimer_header {
        border-bottom: 2px solid #333 !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
    }
    
    .ai_estimate_disclaimer_header h3 {
        color: #333 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
    }
    
    .ai_estimate_disclaimer_item {
        background: white !important;
        border: 1px solid #ccc !important;
        border-left: 3px solid #0057ff !important;
        padding: 8px !important;
        margin-bottom: 6px !important;
        page-break-inside: avoid !important;
        box-sizing: border-box !important;
    }
    
    .ai_estimate_disclaimer_item h4 {
        color: #0057ff !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
    }
    
    .ai_estimate_disclaimer_item p {
        color: #333 !important;
        font-size: 10px !important;
        margin-bottom: 8px !important;
    }
    
    .ai_estimate_disclaimer_item strong {
        color: #0057ff !important;
        font-weight: 600 !important;
    }
    
    .ai_estimate_disclaimer_item ul {
        margin: 8px 0 0 0 !important;
        padding-left: 15px !important;
    }
    
    .ai_estimate_disclaimer_item li {
        color: #333 !important;
        font-size: 10px !important;
        margin-bottom: 3px !important;
    }
    
    .ai_diagnosis_container {
        background: white !important;
        border: 1px solid #333 !important;
        border-radius: 8px !important;
        padding: 15px !important;
        margin-top: 15px !important;
        page-break-inside: avoid !important;
        box-sizing: border-box !important;
    }
    
    .ai_diagnosis_header {
        border-bottom: 2px solid #333 !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
    }
    
    .ai_diagnosis_title {
        color: #0057ff !important;
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    
    .ai_diagnosis_h1 {
        color: #0057ff !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        margin: 15px 0 10px 0 !important;
        border-bottom: 1px solid #ccc !important;
    }
    
    .ai_diagnosis_h2 {
        color: #1976d2 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        margin: 12px 0 8px 0 !important;
        border-left: 3px solid #0057ff !important;
        padding-left: 10px !important;
    }
    
    .ai_diagnosis_h3 {
        color: #333 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        margin: 10px 0 6px 0 !important;
    }
    
    .ai_diagnosis_p {
        color: #333 !important;
        font-size: 10px !important;
        margin: 8px 0 !important;
        line-height: 1.5 !important;
    }
    
    .ai_diagnosis_strong {
        color: #0057ff !important;
        font-weight: 600 !important;
    }
    
    .ai_diagnosis_ul {
        margin: 10px 0 !important;
    }
    
    .ai_diagnosis_li {
        color: #333 !important;
        font-size: 10px !important;
        margin: 3px 0 !important;
        padding: 2px 0 2px 15px !important;
    }
    
    .ai_diagnosis_li::before {
        color: #0057ff !important;
    }
    
    .ai_loading_steps {
        padding: 10px 0 !important;
    }
    
    .ai_loading_progress {
        height: 4px !important;
        background: #e0e0e0 !important;
        margin-bottom: 15px !important;
    }
    
    .ai_loading_progress_bar {
        background: #0057ff !important;
    }
    
    .ai_loading_step {
        padding: 15px !important;
        background: white !important;
        border: 1px solid #ccc !important;
        margin-bottom: 10px !important;
        box-shadow: none !important;
    }
    
    .ai_loading_step_icon {
        width: 40px !important;
        height: 40px !important;
        background: #0057ff !important;
        font-size: 1.2rem !important;
    }
    
    .ai_loading_step_title {
        font-size: 14px !important;
        color: #0057ff !important;
        margin-bottom: 5px !important;
    }
    
    .ai_loading_step_description {
        font-size: 10px !important;
        color: #666 !important;
    }
    
    .ai_loading_steps_list {
        gap: 8px !important;
    }
    
    .ai_loading_step_item {
        padding: 8px 12px !important;
        background: #f8f9ff !important;
        border: 1px solid #e3f2fd !important;
    }
    
    .ai_loading_step_item.active {
        background: #e3f2fd !important;
        border-color: #0057ff !important;
    }
    
    .ai_loading_step_item.completed {
        background: #e8f5e8 !important;
        border-color: #4caf50 !important;
    }
    
    .ai_loading_step_item_icon {
        width: 16px !important;
        height: 16px !important;
        font-size: 10px !important;
    }
    
    .ai_loading_step_item_text {
        font-size: 10px !important;
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .ai_estimate_hero {
        padding: 60px 0;
    }
    
    .ai_estimate_hero_title {
        font-size: 2.2rem;
    }
    
    .ai_estimate_hero_subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .ai_estimate_hero_features {
        gap: 20px;
    }
    
    .ai_estimate_feature {
        font-size: 0.9rem;
    }
    
    .ai_estimate_form_section {
        padding: 40px 0;
    }
    
    .ai_estimate_form_container {
        margin: 0 20px;
        border-radius: 16px;
    }
    
    .ai_estimate_progress {
        padding: 30px 20px 15px;
    }
    
    .ai_estimate_progress_steps {
        gap: 10px;
    }
    
    .ai_estimate_step_number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .ai_estimate_step_label {
        font-size: 0.8rem;
    }
    
    .ai_estimate_form_wrapper {
        padding: 30px 20px;
    }
    
    .ai_estimate_step_header h2 {
        font-size: 1.6rem;
    }
    
    .ai_estimate_options_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ai_estimate_option_card {
        padding: 25px 15px;
    }
    
    .ai_estimate_option_icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .ai_estimate_navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .ai_estimate_btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ai_estimate_hero_title {
        font-size: 1.8rem;
    }
    
    .ai_estimate_hero_features {
        flex-direction: column;
        gap: 15px;
    }
    
    .ai_estimate_progress_steps {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .ai_estimate_step {
        min-width: 80px;
    }
    
    .ai_estimate_step_number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .ai_estimate_step_label {
        font-size: 0.7rem;
    }
    
    .ai_estimate_input_group {
        gap: 10px;
    }
    
    .ai_estimate_checkbox_group,
    .ai_estimate_radio_group {
        gap: 10px;
    }
    
    .ai_estimate_checkbox_label,
    .ai_estimate_radio_label {
        padding: 12px;
    }
}
