@charset "UTF-8";
/**
 * Estimate Styles
 * Implements estimate creation and management functionality
 */
/**
 * Global SCSS Variables
 * 
 * Implements the design system from STYLE.md
 * All design tokens are centralized here
 */
/**
 * Global SCSS Mixins
 * 
 * Reusable mixins for consistent styling patterns
 * Import variables before using these mixins
 */
/**
 * Responsive Breakpoints
 * Mobile-first approach
 */
/**
 * Button Base
 * Standard button styling foundation
 */
/**
 * Button Variants
 */
/**
 * Button Sizes
 */
/**
 * Card Component
 */
/**
 * Form Controls
 */
/**
 * Flexbox Utilities
 */
/**
 * Grid Layout
 */
/**
 * Text Utilities
 */
/**
 * Spacing Utilities
 */
/**
 * Visual Effects
 */
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/**
 * Accessibility
 */
/**
 * Enhanced Grid System
 * Flexible grid system with responsive behavior
 */
/**
 * Card Component Enhancement
 * Consistent card styling across all pages
 */
/**
 * Overlay Pattern
 * For image overlays with gradient
 */
/**
 * Button Variations
 * Extended button styles for consistency
 */
/**
 * Form Control Variations
 * Additional form patterns
 */
/**
 * Loading States
 * Consistent loading patterns
 */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/**
 * Responsive Typography
 * Fluid type sizing
 */
/**
 * Aspect Ratio
 * Maintain aspect ratios for media
 */
/**
 * Container Query Support
 * Progressive enhancement for container queries
 */
/**
 * Dark Mode Support
 * Prepare for future dark mode implementation
 */
/**
 * Banner Base Mixin
 * Consistent banner foundation
 */
/**
 * Banner Image Mixin
 * Consistent image styling
 */
/**
 * Responsive Banner Mixin
 * Handles aspect ratio changes
 */
/**
 * Banner Loading State
 * Shows loading skeleton
 */
/**
 * Banner Error State
 * Shows error state
 */
/**
 * Product Card Base
 * Consistent product card styling
 */
/**
 * Product Image Container
 * Maintains aspect ratio for product images
 */
/**
 * Price Display
 * Consistent price formatting
 */
/**
 * Sale Price
 * Styling for discounted prices
 */
/**
 * Form Group
 * Consistent form field grouping
 */
/**
 * Table Base
 * Consistent table styling
 */
/**
 * Badge
 * Small label components
 */
/**
 * Modal Base
 * Consistent modal styling
 */
/**
 * Smooth Scroll
 * Enable smooth scrolling behavior
 */
/**
 * Custom Scrollbar
 * Styled scrollbar for webkit browsers
 */
/**
 * Tab List
 * Horizontal tab navigation
 */
/**
 * Tab Item
 * Individual tab styling
 */
/**
 * Pagination
 * Page navigation styling
 */
/**
 * Responsive Image
 * Optimized image loading with placeholder
 */
/**
 * Sticky Position
 * Cross-browser sticky positioning
 */
/**
 * Visually Hidden
 * Hide element visually but keep accessible
 */
/**
 * Reset List
 * Remove default list styling
 */
/**
 * Reset Button
 * Remove default button styling
 */
/**
 * Link Reset
 * Remove default link styling
 */
#estimate-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
#estimate-container .search-section {
  margin-bottom: 30px;
}
#estimate-container .search-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
#estimate-container #product-search {
  flex: 1;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  font-size: 0.875rem;
}
#estimate-container #product-search:focus {
  outline: 0;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}
#estimate-container #product-search::placeholder {
  color: #999999;
}
#estimate-container #product-search:disabled {
  background-color: #f6f6f6;
  cursor: not-allowed;
}
#estimate-container #product-search:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}
#estimate-container #estimate-search {
  flex: 1;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  width: 100%;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
#estimate-container #estimate-search:focus {
  outline: 0;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}
#estimate-container #estimate-search::placeholder {
  color: #999999;
}
#estimate-container #estimate-search:disabled {
  background-color: #f6f6f6;
  cursor: not-allowed;
}
#estimate-container #estimate-search:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}
#estimate-container #estimate-search-btn {
  display: none;
}
#estimate-container button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  text-decoration: none;
  color: #ffffff;
  background-color: #333333;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
#estimate-container button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#estimate-container button:hover:not(:disabled) {
  background-color: #222222;
}
#estimate-container button:active:not(:disabled) {
  background-color: #111111;
}
#estimate-container button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#estimate-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  background-color: #ffffff;
  font-size: 0.875rem;
}
#estimate-container table th, #estimate-container table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eeeeee;
}
#estimate-container table th {
  background-color: #fafafa;
  color: #333333;
  font-weight: 600;
  font-size: 0.875rem;
}
#estimate-container table tbody tr:hover {
  background-color: #fafafa;
}
#estimate-container .highlight {
  background-color: #e9b042;
  font-weight: 700;
  padding: 0 0.125rem;
  border-radius: 0.25rem;
}
#estimate-container .crosssell-note {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background-color: #0073aa;
  border-radius: 9999px;
  background-color: rgba(0, 115, 170, 0.1);
  color: #0073aa;
  font-size: 0.75rem;
}
#estimate-container .product-type {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background-color: #999999;
  border-radius: 9999px;
  font-size: 0.75rem;
}
#estimate-container .product-type.variation {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background-color: #4CAF50;
  border-radius: 9999px;
  background-color: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}
#estimate-container .product-type.simple {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background-color: #e9b042;
  border-radius: 9999px;
  background-color: rgba(233, 176, 66, 0.1);
  color: #e9b042;
}
#estimate-container #search-results {
  table-layout: fixed;
  width: 100%;
}
#estimate-container #search-results th:nth-child(1), #estimate-container #search-results td:nth-child(1) {
  width: 10%;
}
#estimate-container #search-results th:nth-child(2), #estimate-container #search-results td:nth-child(2) {
  width: 35%;
}
#estimate-container #search-results th:nth-child(3), #estimate-container #search-results td:nth-child(3) {
  width: 20%;
}
#estimate-container #search-results th:nth-child(4), #estimate-container #search-results td:nth-child(4) {
  width: 15%;
}
#estimate-container #search-results th:nth-child(5), #estimate-container #search-results td:nth-child(5) {
  width: 10%;
}
#estimate-container #search-results th:nth-child(6), #estimate-container #search-results td:nth-child(6) {
  width: 10%;
}
#estimate-container #search-results td:nth-child(4) {
  font-size: 0.75rem;
}
#estimate-container #search-results td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  text-decoration: none;
  color: #ffffff;
  background-color: #333333;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  padding: 0.125rem 0.25rem;
  font-size: 0.75rem;
}
#estimate-container #search-results td a:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#estimate-container #search-results td a:hover:not(:disabled) {
  background-color: #222222;
}
#estimate-container #search-results td a:active:not(:disabled) {
  background-color: #111111;
}
#estimate-container .form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
  #estimate-container .form-grid {
    gap: 0.75rem;
  }
}
@media (max-width: 992px) {
  #estimate-container .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  #estimate-container .form-grid {
    grid-template-columns: 1fr;
  }
}
#estimate-container .form-group {
  margin-bottom: 1.25rem;
}
#estimate-container .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333333;
  font-weight: 500;
  font-size: 0.875rem;
}
#estimate-container .form-group .help-text {
  margin-top: 0.25rem;
  color: #666666;
  font-size: 0.75rem;
}
#estimate-container .form-group.has-error .form-control {
  border-color: #dc3545;
}
#estimate-container .form-group.has-error .help-text {
  color: #dc3545;
}
#estimate-container .form-group.full-width {
  grid-column: 1 / -1;
}
#estimate-container .form-group input, #estimate-container .form-group select, #estimate-container .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  font-size: 0.875rem;
}
#estimate-container .form-group input:focus, #estimate-container .form-group select:focus, #estimate-container .form-group textarea:focus {
  outline: 0;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}
#estimate-container .form-group input::placeholder, #estimate-container .form-group select::placeholder, #estimate-container .form-group textarea::placeholder {
  color: #999999;
}
#estimate-container .form-group input:disabled, #estimate-container .form-group select:disabled, #estimate-container .form-group textarea:disabled {
  background-color: #f6f6f6;
  cursor: not-allowed;
}
#estimate-container .form-group .discount-inputs {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
#estimate-container .form-group .discount-inputs select, #estimate-container .form-group .discount-inputs input {
  flex: 1;
}
#estimate-container .estimate-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1.25rem;
}
#estimate-container .estimate-buttons {
  display: flex;
  gap: 0.5rem;
}
#estimate-container .generate-buttons {
  display: flex;
  gap: 0.25rem;
}
#estimate-container .modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
#estimate-container .modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background-color: #ffffff;
  margin: 5% auto;
  padding: 1.5rem;
  width: 80%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}
@media (max-width: 768px) {
  #estimate-container .modal-content {
    width: 95%;
    max-height: 85vh;
  }
}
#estimate-container .close {
  position: absolute;
  right: 0.5rem;
  top: 0.25rem;
  font-size: 1.875rem;
  font-weight: 700;
  cursor: pointer;
  color: #666666;
  transition: color 0.2s ease-in-out;
}
#estimate-container .close:hover {
  color: #333333;
}
#estimate-container .variation-info {
  color: #666666;
  font-size: 0.875rem;
  font-style: italic;
}
#estimate-container #estimate-items {
  width: 100%;
  table-layout: fixed;
  /* 테이블 레이아웃 고정 */
}
#estimate-container #estimate-items th:nth-child(1), #estimate-container #estimate-items td:nth-child(1) {
  /* 제품명 컬럼 */
  width: 35%;
  text-align: left;
}
#estimate-container #estimate-items th:nth-child(2), #estimate-container #estimate-items td:nth-child(2) {
  /* 옵션명 컬럼 */
  width: 18%;
  text-align: left;
}
#estimate-container #estimate-items th:nth-child(3), #estimate-container #estimate-items td:nth-child(3) {
  /* SKU 컬럼 */
  width: 15%;
  text-align: left;
}
#estimate-container #estimate-items th:nth-child(4), #estimate-container #estimate-items td:nth-child(4) {
  /* 수량 컬럼 */
  width: 8%;
  text-align: center;
}
#estimate-container #estimate-items th:nth-child(5), #estimate-container #estimate-items td:nth-child(5) {
  /* 단가 컬럼 */
  width: 10%;
  text-align: center;
}
#estimate-container #estimate-items th:nth-child(6), #estimate-container #estimate-items td:nth-child(6) {
  /* 합계 컬럼 */
  width: 10%;
  text-align: center;
}
#estimate-container #estimate-items th:nth-child(7), #estimate-container #estimate-items td:nth-child(7) {
  /* 작업 컬럼 */
  width: 14%;
  text-align: center;
}
#estimate-container #estimate-items th a, #estimate-container #estimate-items td a {
  background-color: #0d47a1;
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-size: 0.85rem;
}
#estimate-container #estimate-items th a:hover, #estimate-container #estimate-items td a:hover {
  background-color: #0a3880;
}
#estimate-container #estimate-items .quantity-input {
  width: 60px;
  max-width: 100%;
  text-align: center;
  padding: 6px 4px;
}
#estimate-container #estimate-items tfoot tr {
  background-color: #f8f8f8;
}
#estimate-container #estimate-items tfoot td {
  font-weight: 600;
}
#estimate-container #estimate-items tfoot .discounted-subtotal-row {
  background-color: #d9d9d9;
}
#estimate-container .discount-amount {
  color: #e44;
}
#estimate-container .total-row {
  background-color: #b0bfc9 !important;
  font-weight: bold;
}
#estimate-container .total-row td {
  font-size: 1.1em;
}
#estimate-container .estimate-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#estimate-container .estimate-section h2 {
  color: #333;
  border-bottom: 2px solid #333333;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.5em;
}
#estimate-container .input-field {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}
#estimate-container .input-field:focus {
  border-color: #333333;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}
#estimate-container .primary-btn {
  background-color: #333333;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
#estimate-container .primary-btn:hover {
  background-color: #222222;
}
#estimate-container #estimate-list-table {
  width: 100%;
  table-layout: fixed;
}
#estimate-container #estimate-list-table th:nth-child(1), #estimate-container #estimate-list-table td:nth-child(1) {
  width: 5%;
  /* 체크박스 컬럼 */
  text-align: center;
}
#estimate-container #estimate-list-table th:nth-child(2), #estimate-container #estimate-list-table td:nth-child(2) {
  width: 7%;
  /* 작성자 */
}
#estimate-container #estimate-list-table th:nth-child(3), #estimate-container #estimate-list-table td:nth-child(3) {
  width: 10%;
  /* 상호명 */
}
#estimate-container #estimate-list-table th:nth-child(4), #estimate-container #estimate-list-table td:nth-child(4) {
  width: 30%;
  /* 제품명 */
}
#estimate-container #estimate-list-table th:nth-child(5), #estimate-container #estimate-list-table td:nth-child(5) {
  width: 12%;
  /* 금액 */
}
#estimate-container #estimate-list-table th:nth-child(6), #estimate-container #estimate-list-table td:nth-child(6) {
  width: 15%;
  /* 견적날짜 */
}
#estimate-container #estimate-list-table th:nth-child(7), #estimate-container #estimate-list-table td:nth-child(7) {
  width: 12%;
  /* 작업 */
}
#estimate-container #estimate-list-table td:nth-child(2), #estimate-container #estimate-list-table td:nth-child(4) {
  font-size: 0.8rem;
}
#estimate-container #estimate-list-table .checkbox-column {
  text-align: center;
}
#estimate-container #estimate-list-table .checkbox-column input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}
#estimate-container #estimate-list-table .primary-btn {
  padding: 4px 6px;
  margin-bottom: 5px;
  display: block;
  width: 100%;
  font-size: 0.85rem;
}
#estimate-container #estimate-list-table .download-jpg {
  background-color: #4CAF50;
}
#estimate-container #estimate-list-table .download-jpg:hover {
  background-color: #45a049;
}
#estimate-container #delete-selected-estimates {
  margin-bottom: 15px;
  background-color: #d9534f;
}
#estimate-container #delete-selected-estimates:hover {
  background-color: #c9302c;
}
#estimate-container #pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 5px;
}
#estimate-container #pagination .page-link {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}
#estimate-container #pagination .page-link:hover {
  background-color: #e9e9e9;
}
#estimate-container #pagination .page-link.current {
  background-color: #333333;
  color: white;
  border-color: #222222;
  cursor: default;
}
@media (max-width: 768px) {
  #estimate-container .form-grid {
    grid-template-columns: 1fr;
  }
  #estimate-container .estimate-actions {
    flex-direction: column;
  }
  #estimate-container .estimate-download-section {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  #estimate-container .download-type-selector {
    width: 100%;
  }
  #estimate-container .download-type-selector .radio-group {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  #estimate-container .download-btn {
    width: 100%;
    margin-top: 0.75rem;
  }
  #estimate-container .tax-invoice-section {
    padding: 0.75rem;
  }
  #estimate-container .tax-invoice-section .radio-group {
    gap: 1rem;
  }
  #estimate-container .estimate-buttons {
    flex-direction: column;
    width: 100%;
  }
  #estimate-container .generate-buttons {
    flex-direction: column;
    width: 100%;
  }
  #estimate-container button {
    width: 100%;
  }
  #estimate-container .search-input-group {
    flex-direction: column;
  }
  #estimate-container #product-search {
    width: 100%;
  }
  #estimate-container .discount-inputs {
    flex-direction: column;
  }
  #estimate-container .discount-inputs select, #estimate-container .discount-inputs input {
    width: 100%;
  }
  #estimate-container #estimate-items {
    table-layout: fixed;
  }
  #estimate-container #estimate-items th:nth-child(1), #estimate-container #estimate-items td:nth-child(1) {
    /* 제품명 */
    width: 30%;
  }
  #estimate-container #estimate-items th:nth-child(2), #estimate-container #estimate-items td:nth-child(2) {
    /* 옵션명 */
    width: 18%;
  }
  #estimate-container #estimate-items th:nth-child(3), #estimate-container #estimate-items td:nth-child(3) {
    /* SKU */
    width: 15%;
    text-align: left;
  }
  #estimate-container #estimate-items th:nth-child(4), #estimate-container #estimate-items td:nth-child(4) {
    /* 수량 */
    width: 10%;
  }
  #estimate-container #estimate-items th:nth-child(5), #estimate-container #estimate-items td:nth-child(5) {
    /* 단가 */
    width: 11%;
  }
  #estimate-container #estimate-items th:nth-child(6), #estimate-container #estimate-items td:nth-child(6) {
    /* 합계 */
    width: 11%;
  }
  #estimate-container #estimate-items th:nth-child(7), #estimate-container #estimate-items td:nth-child(7) {
    /* 작업 */
    width: 16%;
  }
  #estimate-container #estimate-items th a, #estimate-container #estimate-items td a {
    padding: 1px 2px;
    font-size: 0.7rem;
  }
  #estimate-container #estimate-items .quantity-input {
    width: 45px;
    padding: 4px 2px;
  }
  #estimate-container #search-results {
    table-layout: fixed;
  }
  #estimate-container #search-results th:nth-child(1), #estimate-container #search-results td:nth-child(1) {
    width: 8%;
    /* 타입 */
  }
  #estimate-container #search-results th:nth-child(2), #estimate-container #search-results td:nth-child(2) {
    width: 42%;
    /* 제품명 */
  }
  #estimate-container #search-results th:nth-child(3), #estimate-container #search-results td:nth-child(3) {
    width: 20%;
    /* 옵션명 */
  }
  #estimate-container #search-results th:nth-child(4), #estimate-container #search-results td:nth-child(4) {
    width: 16%;
    /* SKU */
  }
  #estimate-container #search-results th:nth-child(5), #estimate-container #search-results td:nth-child(5) {
    width: 8%;
    /* 가격 */
  }
  #estimate-container #search-results th:nth-child(6), #estimate-container #search-results td:nth-child(6) {
    width: 6%;
    /* 작업 */
  }
  #estimate-container #search-results th a, #estimate-container #search-results td a {
    padding: 1px 2px;
    font-size: 0.7rem;
  }
  #estimate-container #estimate-search {
    width: 100%;
    margin-bottom: 10px;
  }
  #estimate-container #estimate-list-table th:nth-child(1), #estimate-container #estimate-list-table td:nth-child(1) {
    width: 10%;
    /* 모바일에서 체크박스 컬럼 너비 늘리기 */
  }
  #estimate-container #estimate-list-table th:nth-child(2), #estimate-container #estimate-list-table th:nth-child(3), #estimate-container #estimate-list-table th:nth-child(4), #estimate-container #estimate-list-table th:nth-child(5), #estimate-container #estimate-list-table th:nth-child(6), #estimate-container #estimate-list-table th:nth-child(7), #estimate-container #estimate-list-table td:nth-child(2), #estimate-container #estimate-list-table td:nth-child(3), #estimate-container #estimate-list-table td:nth-child(4), #estimate-container #estimate-list-table td:nth-child(5), #estimate-container #estimate-list-table td:nth-child(6), #estimate-container #estimate-list-table td:nth-child(7) {
    width: 15%;
    /* 모바일에서 다른 컬럼 너비 조정 */
  }
  #estimate-container #estimate-list-table .primary-btn {
    padding: 3px 4px;
    margin-bottom: 3px;
    font-size: 0.7rem;
  }
  #estimate-container #pagination {
    flex-wrap: wrap;
  }
  #estimate-container #pagination .page-link {
    padding: 4px 8px;
    font-size: 14px;
  }
}
.ca-custom-estimate-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-saved-list {
  margin-bottom: 30px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-saved-list h3 {
  margin-bottom: 15px;
  color: #333;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-list-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.ca-custom-estimate-wrapper .ca-custom-estimate-list-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid #ddd;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-list-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-list-table .button {
  margin-right: 5px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-list-table .button:last-child {
  margin-right: 0;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-list-table .button-small {
  padding: 4px 12px;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-list-table .ca-custom-estimate-delete-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  cursor: pointer;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-list-table .ca-custom-estimate-delete-btn:hover {
  background-color: #c82333;
  color: white;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-category-tabs {
  margin-bottom: 30px;
  border-bottom: 2px solid #ddd;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 10px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-category-list .ca-custom-estimate-category-tab {
  padding: 8px 16px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-category-list .ca-custom-estimate-category-tab:hover {
  background: #e9e9e9;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-category-list .ca-custom-estimate-category-tab.active {
  background: #333;
  color: white;
  border-color: #333;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-category-list .ca-custom-estimate-category-tab.ca-custom-estimate-additional {
  margin-left: auto;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-category-list .ca-custom-estimate-category-separator {
  width: 2px;
  background: #ddd;
  margin: 0 10px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-main-content {
  display: flex;
  gap: 20px;
  min-height: 600px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-left-section {
  flex: 1;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-left-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-left-header .ca-custom-estimate-product-count {
  font-weight: 600;
  color: #666;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-left-header .ca-custom-estimate-search {
  flex: 1;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-left-header .ca-custom-estimate-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-left-header .ca-custom-estimate-search input:focus {
  outline: none;
  border-color: #333;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-left-header .ca-custom-estimate-sort select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list {
  padding: 15px;
  max-height: 500px;
  overflow-y: auto;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item .product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item .product-info {
  flex: 1;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item .product-info .product-name-wrapper {
  margin-bottom: 5px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item .product-info .product-price {
  color: #333333;
  font-weight: 600;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item .add-to-estimate-btn {
  padding: 8px 16px;
  background: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item .add-to-estimate-btn:hover {
  background: #222;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item .add-to-estimate-btn.added {
  background: #888888;
  cursor: default;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .ca-custom-estimate-product-item .add-to-estimate-btn.added:hover {
  background: #888888;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-list .loading-more {
  text-align: center;
  padding: 20px;
  color: #666;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-section {
  width: 350px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header {
  padding: 15px;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
  display: flex;
  gap: 10px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-save-btn {
  background: #666666;
  color: white;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-save-btn:hover {
  background: #555555;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-print-btn {
  background: #444444;
  color: white;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-print-btn:hover {
  background: #333333;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-inquiry-btn {
  background: #333333;
  color: white;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-inquiry-btn:hover {
  background: #222222;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-add-all-to-cart {
  background: #555555;
  color: white;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-add-all-to-cart:hover {
  background: #444444;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-right-header button.ca-custom-estimate-add-all-to-cart:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .ca-custom-estimate-cart-empty {
  text-align: center;
  color: #999;
  padding: 50px 20px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  margin-bottom: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  position: relative;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-info {
  flex: 1;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-info .item-name {
  font-size: 14px;
  margin-bottom: 5px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-info .item-price {
  color: #666;
  font-size: 13px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-quantity {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-quantity button {
  width: 24px;
  height: 24px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-quantity button:hover {
  background: #f5f5f5;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-quantity input {
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  padding: 4px;
  font-size: 14px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  color: #999;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart .cart-item .item-remove:hover {
  color: #dc3545;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart-summary {
  padding: 15px;
  border-top: 2px solid #ddd;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart-summary .ca-custom-estimate-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-cart-summary .ca-custom-estimate-total .ca-custom-estimate-total-amount {
  color: #333333;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-view {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #ddd;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-header .ca-custom-estimate-header-left {
  flex: 1;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-header .ca-custom-estimate-header-left h2 {
  margin-bottom: 10px;
  color: #333;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-header .ca-custom-estimate-header-left .ca-custom-estimate-single-meta {
  color: #666;
  font-size: 14px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-header .ca-custom-estimate-header-left .ca-custom-estimate-single-meta span {
  margin-right: 20px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-header .ca-custom-estimate-header-right {
  margin-left: 20px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-items-table th {
  background: #f5f5f5;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-items-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-items-table tfoot th, .ca-custom-estimate-wrapper .ca-custom-estimate-items-table tfoot td {
  font-weight: 600;
  font-size: 16px;
  padding-top: 15px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-actions .button {
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 14px;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-single-actions .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-option-badge {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 4px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-name {
  cursor: pointer;
  color: #0073aa;
  text-decoration: underline;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-name:hover {
  color: #005177;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100000;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-modal.active {
  opacity: 1;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-product-modal.active .ca-custom-estimate-modal-content {
  transform: translate(-50%, -50%) scale(1);
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  width: 90%;
  max-width: 90vw;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-out;
}
@media (max-width: 768px) {
  .ca-custom-estimate-wrapper .ca-custom-estimate-modal-content {
    padding: 20px;
    margin: 10px;
    width: calc(100% - 20px);
    max-height: calc(100vh - 40px);
  }
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  color: #666;
  line-height: 1;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-close:hover {
  color: #333;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-body {
  padding: 20px 0;
  min-height: 200px;
  max-height: 60vh;
  overflow-y: auto;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-body p {
  margin-bottom: 1em;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-body img {
  max-width: 100%;
  height: auto;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-footer {
  margin-top: 20px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-footer .button {
  padding: 10px 30px;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
}
.ca-custom-estimate-wrapper .ca-custom-estimate-modal-footer .button:hover {
  background: #222;
  color: white;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 1200px) {
  .ca-custom-estimate-wrapper .ca-custom-estimate-main-content {
    flex-direction: column;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-right-section {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .ca-custom-estimate-wrapper {
    padding: 10px;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-left-header {
    flex-wrap: wrap;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-right-header {
    flex-direction: column;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-right-header button {
    width: 100%;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-product-item {
    flex-direction: column;
    text-align: center;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-product-item .product-info {
    width: 100%;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-single-header {
    flex-direction: column;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-single-header .ca-custom-estimate-header-right {
    margin-left: 0;
    margin-top: 15px;
  }
  .ca-custom-estimate-wrapper .ca-custom-estimate-single-actions .button {
    width: 100%;
  }
}
/**
 * Installation Fee Calculator Styles
 * Integrated with existing estimate form styles
 */
.ca-installation-fee-calculator {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
}
.ca-installation-fee-calculator h4 {
  margin: 0 0 1.5rem 0;
  color: #333;
  font-size: 1.2em;
  font-weight: 600;
}
.ca-installation-fee-calculator .ca-installation-calculator-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .ca-installation-fee-calculator .ca-installation-calculator-fields {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.ca-installation-fee-calculator .ca-calculator-field {
  display: flex;
  flex-direction: column;
}
.ca-installation-fee-calculator .ca-calculator-field label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
  font-size: 14px;
}
.ca-installation-fee-calculator .ca-calculator-field select, .ca-installation-fee-calculator .ca-calculator-field input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ca-installation-fee-calculator .ca-calculator-field select:focus, .ca-installation-fee-calculator .ca-calculator-field input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 1px #007cba;
}
.ca-installation-fee-calculator .ca-calculator-field select:disabled, .ca-installation-fee-calculator .ca-calculator-field input:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}
.ca-installation-fee-calculator .ca-calculator-field input[readonly] {
  background-color: #f9f9f9;
  cursor: text;
}
.ca-installation-fee-calculator .ca-calculator-result .ca-result-input-group {
  display: flex;
  gap: 8px;
}
.ca-installation-fee-calculator .ca-calculator-result .ca-result-input-group input {
  flex: 1;
}
.ca-installation-fee-calculator .ca-copy-button {
  padding: 10px 15px;
  border: 1px solid #007cba;
  border-radius: 4px;
  background-color: #007cba;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 60px;
}
.ca-installation-fee-calculator .ca-copy-button:hover {
  background-color: #005a87;
  border-color: #005a87;
}
.ca-installation-fee-calculator .ca-copy-button:active {
  transform: translateY(1px);
}
.ca-installation-fee-calculator .ca-copy-button.ca-success {
  background-color: #4CAF50;
  border-color: #4CAF50;
}
.ca-installation-fee-calculator optgroup {
  font-weight: bold;
  font-style: normal;
  color: #333;
}
.ca-installation-fee-calculator optgroup option {
  font-weight: normal;
  padding-left: 20px;
  color: #666;
}
.discount-row td {
  font-weight: 600;
}
.discount-row .discounted-subtotal-row {
  background-color: #d9d9d9;
}
.thousand-won-discount-row td {
  font-weight: 600;
  color: #e44;
}
.after-thousand-discount-row {
  background-color: #e9e9e9;
}
.after-thousand-discount-row td {
  font-weight: 600;
}
.tax-invoice-section {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background-color: #fafafa;
  border-radius: 0.75rem;
  border: 1px solid #eeeeee;
}
.tax-invoice-section h4 {
  margin-bottom: 1rem;
  color: #333333;
  font-size: 1.125rem;
  font-weight: 600;
}
.radio-group {
  display: flex;
  gap: 0.5rem;
}
.radio-group .radio-label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-size: 1rem;
}
.radio-group .radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-group .radio-label span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  font-weight: 500;
}
.radio-group .radio-label input[type="radio"]:checked + span {
  background-color: #333333;
  color: #ffffff;
  border-color: #333333;
}
.radio-group .radio-label:hover span {
  border-color: #333333;
}
.radio-group.download-type-buttons .radio-label span {
  min-width: 80px;
  text-align: center;
}
.installation-calculator-link {
  margin-left: 0.75rem;
  font-size: 0.875rem;
  color: #0073aa;
  text-decoration: none;
  font-weight: 400;
}
.installation-calculator-link:hover {
  text-decoration: underline;
  color: #005177;
}
.installation-calculator-modal {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.5rem;
}
.installation-calculator-modal h3 {
  margin-bottom: 1.25rem;
  color: #333333;
}
.installation-calculator-modal .ca-installation-fee-calculator {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}
.required {
  color: #dc3545;
  font-weight: 700;
  margin-left: 0.25rem;
}
.optional {
  color: #666666;
  font-size: 0.875rem;
  margin-left: 0.25rem;
}
.tax-invoice-fields {
  display: contents;
}
.tax-invoice-fields .form-group {
  transition: opacity 0.2s ease-in-out;
  grid-column: span 1;
}
.estimate-download-section {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex: 1;
}
.download-type-selector {
  flex: 1;
}
.download-type-selector h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #333333;
  font-weight: 600;
}
.download-type-selector .radio-group {
  margin-bottom: 1rem;
}
.download-btn {
  min-width: 120px;
  margin-bottom: 0.5rem;
}
.required-fields-info {
  margin-top: 0.5rem;
}
.info-message {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
}
.info-message.warning {
  color: #e9b042;
}
.info-message.error {
  color: #dc3545;
}
.ca-estimate-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  animation: slideIn 0.3s ease-out;
}
.ca-estimate-notification__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-left: 4px solid;
}
.ca-estimate-notification--success .ca-estimate-notification__content {
  border-left-color: #4caf50;
  background-color: #f1f8e9;
}
.ca-estimate-notification--error .ca-estimate-notification__content {
  border-left-color: #f44336;
  background-color: #ffebee;
}
.ca-estimate-notification--info .ca-estimate-notification__content {
  border-left-color: #2196f3;
  background-color: #e3f2fd;
}
.ca-estimate-notification__message {
  flex: 1;
  margin-right: 10px;
  color: #333;
}
.ca-estimate-notification__close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ca-estimate-notification__close:hover {
  color: #333;
}
.ca-estimate-notification--fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}
.ca-estimate-retry-button {
  margin-left: 10px;
  padding: 5px 10px;
  background: #2196f3;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}
.ca-estimate-retry-button:hover {
  background: #1976d2;
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
.product-link {
  color: inherit !important;
  text-decoration: underline !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  display: inline !important;
  line-height: inherit !important;
}
.product-link:hover {
  color: inherit !important;
  text-decoration: underline !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
}
.ca-custom-estimate__cart-items__item__info__fees {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #333333;
}
.ca-custom-estimate__fee--installation {
  color: #333333;
}
.ca-custom-estimate__fee--shipping {
  color: #666666;
}
.ca-custom-estimate__fee__amount {
  font-weight: 600;
}
.ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__info--column {
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eeeeee;
}
.ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__row:last-child {
  border-bottom: none;
}
.ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__row--name {
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #333333;
  margin-bottom: 0.5rem;
}
.ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__row--name .ca-custom-estimate__cart-items__item__info__name {
  font-weight: 600;
  font-size: 1.1rem;
  color: #111111;
}
.ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__row--quantity .ca-custom-estimate__cart-items__item__quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__label {
  font-weight: 500;
  color: #333333;
  min-width: 80px;
}
.ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__value {
  font-weight: 600;
  color: #111111;
}
@media (max-width: 768px) {
  .ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__row {
    flex-wrap: wrap;
  }
  .ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__row--quantity .ca-custom-estimate__cart-items__item__label {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__row--quantity .ca-custom-estimate__cart-items__item__quantity {
    width: 100%;
  }
  .ca-custom-estimate__cart-items__item--column .ca-custom-estimate__cart-items__item__remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
}
