* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Malgun Gothic', sans-serif; background-color: #ffffff; padding: 20px; }
.estimate-section { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.estimate-container { background-color: white; padding: 40px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); border-radius: 10px; }
.estimate-title { text-align: center; font-size: 2.5rem; font-weight: bold; color: #333; margin-bottom: 10px; }
.estimate-subtitle { text-align: center; color: #666; margin-bottom: 40px; font-size: 1rem; }
.main-container { display: flex; gap: 30px; margin-bottom: 30px; }
.section-box { flex: 1; padding: 25px; background-color: #f8f9fa; border-radius: 10px; border: 3px solid #e0e0e0; }
.section-box.frame-section { border-color: #ff6b6b; }
.section-box.door-section { border-color: #4dabf7; }
.section-title { text-align: center; font-size: 1.5rem; font-weight: bold; margin-bottom: 20px; padding: 10px; border-radius: 8px; }
.section-title.frame-title { background-color: #ff6b6b; color: white; }
.section-title.door-title { background-color: #4dabf7; color: white; }
.input-group { margin-bottom: 20px; }
.input-label { display: block; font-size: 14px; font-weight: 600; color: #555; margin-bottom: 8px; }
.form-input, .form-select { width: 100%; padding: 10px 12px; border: 2px solid #e0e0e0; border-radius: 6px; font-size: 14px; transition: all 0.3s; }
.form-input:focus, .form-select:focus { outline: none; border-color: #007bff; }
.form-select:disabled { background-color: #e9ecef; cursor: not-allowed; opacity: 0.6; }
.size-group { display: flex; gap: 8px; align-items: center; }
.size-group .form-input { flex: 1; }
.size-separator { font-size: 18px; color: #666; font-weight: bold; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.input-row .input-group { margin-bottom: 0; }
.checkbox-group { display: flex; gap: 20px; flex-wrap: wrap; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
.add-button { width: 100%; padding: 15px; margin-top: 20px; background-color: #28a745; color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: all 0.3s; }
.add-button:hover { background-color: #218838; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(40,167,69,0.3); }
.add-button.frame-add { background-color: #ff6b6b; }
.add-button.frame-add:hover { background-color: #ff5252; }
.add-button.door-add { background-color: #4dabf7; }
.add-button.door-add:hover { background-color: #339af0; }
.estimate-result { background-color: #fff3cd; padding: 30px; border-radius: 10px; border: 3px solid #ffc107; }
.result-title { font-size: 1.8rem; font-weight: bold; color: #333; margin-bottom: 20px; text-align: center; }
.result-details { background-color: white; padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.result-notice { text-align: center; color: #999; padding: 30px 20px; font-style: italic; }
.result-item-card { background-color: #f8f9fa; border-radius: 8px; padding: 15px; margin-bottom: 15px; border-left: 4px solid #007bff; }
.result-item-card.frame-card { border-left-color: #ff6b6b; }
.result-item-card.door-card { border-left-color: #4dabf7; }
.result-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.result-item-title { font-size: 1.1rem; font-weight: bold; color: #333; }
.delete-button { padding: 5px 12px; background-color: #dc3545; color: white; border: none; border-radius: 4px; font-size: 12px; cursor: pointer; transition: all 0.2s; }
.delete-button:hover { background-color: #c82333; }
.result-info-line { display: flex; flex-wrap: wrap; gap: 20px; padding: 12px; background-color: white; border-radius: 6px; margin-bottom: 10px; align-items: center; }
.result-info-item { display: inline-flex; align-items: center; gap: 6px; }
.result-info-label { font-size: 14px; color: #666; font-weight: 500; }
.result-info-value { font-size: 14px; font-weight: 600; color: #333; }
.result-options { padding: 10px 12px; background-color: #e9ecef; border-radius: 6px; margin-bottom: 10px; }
.result-options-title { font-size: 12px; font-weight: bold; color: #555; margin-bottom: 6px; }
.result-options-items { display: flex; flex-wrap: wrap; gap: 15px; }
.result-actions { display: flex; gap: 15px; margin-bottom: 15px; }
.btn { flex: 1; padding: 15px; border: none; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: all 0.3s; }
.btn-inquiry { background-color: #28a745; color: white; }
.btn-inquiry:hover { background-color: #218838; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(40,167,69,0.3); }
.btn-print { background-color: white; color: #333; border: 2px solid #007bff; }
.btn-print:hover { background-color: #f8f9fa; transform: translateY(-2px); }
.btn-clear { background-color: #6c757d; color: white; }
.btn-clear:hover { background-color: #5a6268; transform: translateY(-2px); }
.result-disclaimer { text-align: center; font-size: 13px; color: #666; }
@media (max-width: 968px) {
    .main-container { flex-direction: column; }
    .input-row { grid-template-columns: 1fr; }
    .estimate-container { padding: 25px 15px; }
    .estimate-title { font-size: 1.8rem; }
    .checkbox-group { flex-direction: column; gap: 12px; }
    .result-info-line { flex-direction: column; align-items: flex-start; gap: 10px; }
    .result-info-line > span { display: none; }
    .result-options-items { flex-direction: column; gap: 8px; }
    .result-options-items > span { display: none; }
    .result-actions { flex-direction: column; }
}