/* ============================================================
   Calculadora Plafón Liso Durock - ConstruyamosH
   Tema: Rose (#be123c) — Durock / Panel Cemento
   ============================================================ */

.pdc-container { max-width: 960px; margin: 0 auto; font-family: system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color: #1e293b; line-height: 1.6; }
.pdc-hidden { display: none !important; }

.pdc-business-header { background: #fff; padding: 16px 0 14px; border-bottom: 3px solid #be123c; margin-bottom: 20px; }
.pdc-biz-columns { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.pdc-biz-logo img { max-width: 200px; height: auto; display: block; }
.pdc-biz-info { font-size: .8rem; line-height: 1.4; color: #334155; }
.pdc-quotation-meta { text-align: right; white-space: nowrap; }
.pdc-quotation-title { font-size: 1.4rem; font-weight: 800; color: #be123c; margin-bottom: 4px; }
.pdc-date, .pdc-currency { font-size: .85rem; color: #64748b; }
@media (max-width:600px) { .pdc-biz-columns { flex-direction: column; align-items: center; text-align: center; } .pdc-quotation-meta { text-align: center; margin-top: 8px; } }

.pdc-header { text-align: center; margin-bottom: 28px; }
.pdc-header-brand { display: none; }
@media print { .pdc-header-brand { display: block; } }
.pdc-header h2 { font-size: 1.8rem; font-weight: 800; color: #be123c; margin: 0 0 8px; }
.pdc-header p { font-size: 1rem; color: #475569; margin: 0; }

.pdc-input-section { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; margin-bottom: 24px; }
.pdc-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.pdc-tab { flex: 1; padding: 10px 16px; border: 2px solid #e2e8f0; border-radius: 8px; background: #fff; font-size: .95rem; font-weight: 600; color: #64748b; cursor: pointer; transition: all .2s; }
.pdc-tab.active { border-color: #be123c; background: #fff1f2; color: #be123c; }
.pdc-tab:hover { border-color: #94a3b8; }
.pdc-input-group { display: none; }
.pdc-input-group.active { display: block; }
.pdc-input-group label { display: block; font-weight: 600; font-size: .9rem; color: #334155; margin-bottom: 4px; }
.pdc-input-group input[type="number"] { width: 100%; max-width: 200px; padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 1.1rem; font-weight: 600; color: #be123c; transition: border-color .2s; }
.pdc-input-group input[type="number"]:focus { outline: none; border-color: #be123c; box-shadow: 0 0 0 3px rgba(190,18,60,.15); }
.pdc-dim-row { display: flex; gap: 16px; flex-wrap: wrap; }
.pdc-dim-row > div { flex: 1; min-width: 140px; }
.pdc-dim-result { font-size: 1.1rem; font-weight: 700; color: #be123c; margin: 12px 0 0; }

.pdc-options-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; align-items: flex-end; }
.pdc-options-row > div { flex: 1; min-width: 140px; }
.pdc-options-row label { display: block; font-weight: 600; font-size: .85rem; color: #475569; margin-bottom: 4px; }
.pdc-options-row select { width: 100%; padding: 9px 12px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: .95rem; color: #1e293b; background: #fff; cursor: pointer; }
.pdc-options-row select:focus { outline: none; border-color: #be123c; }
.pdc-acoustic-label { display: flex !important; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: #1e293b; cursor: pointer; }
.pdc-acoustic-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: #be123c; cursor: pointer; }
.pdc-acoustic-hint { display: block; font-size: .78rem; color: #64748b; margin-top: 2px; font-style: italic; }

.pdc-visualization-wrapper { margin-top: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; text-align: center; min-height: 180px; }
.pdc-visualization svg { max-width: 100%; height: auto; display: inline-block; }
.pdc-viz-placeholder { color: #94a3b8; font-size: .9rem; padding: 40px 0; }

.pdc-results { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; margin-bottom: 24px; }
.pdc-report-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.pdc-report-header h3 { margin: 0; font-size: 1.3rem; color: #be123c; }
.pdc-area-badge { background: #be123c; color: #fff; padding: 4px 14px; border-radius: 20px; font-size: .85rem; font-weight: 700; }
.pdc-table-responsive { overflow-x: auto; }
.pdc-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pdc-table thead th { background: #f1f5f9; padding: 10px 8px; text-align: left; font-weight: 700; color: #334155; border-bottom: 2px solid #cbd5e1; }
.pdc-table tbody td { padding: 8px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
.pdc-table tbody tr:last-child td { border-bottom: none; }
.pdc-table tbody tr:hover { background: #f8fafc; }
.pdc-footer-info { margin-top: 20px; font-size: .85rem; color: #64748b; font-style: italic; padding-top: 16px; border-top: 1px solid #e2e8f0; }
.pdc-footer-info a { color: #be123c; font-style: normal; font-weight: 600; }
.pdc-tutorial-box { margin-top: 12px; padding: 12px 16px; background: #fff1f2; border-radius: 8px; font-style: normal; }
.pdc-actions { text-align: center; margin-bottom: 24px; }
.pdc-btn { display: inline-block; padding: 14px 36px; border: none; border-radius: 30px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: all .25s; }
.pdc-btn-primary { background: #be123c; color: #fff; }
.pdc-btn-primary:hover { background: #9f1239; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(190,18,60,.35); }
.pdc-btn-primary:active { transform: translateY(0); }

@media (max-width:768px) { .pdc-container { padding: 0 10px; } .pdc-header h2 { font-size: 1.4rem; } .pdc-input-section { padding: 16px; } .pdc-results { padding: 16px; } .pdc-table { font-size: .82rem; } .pdc-table thead th, .pdc-table tbody td { padding: 6px 4px; } }
@media (max-width:480px) { .pdc-header h2 { font-size: 1.2rem; } .pdc-tabs { flex-direction: column; } .pdc-options-row { flex-direction: column; gap: 10px; } .pdc-options-row > div { min-width: unset; } .pdc-dim-row { flex-direction: column; gap: 10px; } .pdc-input-group input[type="number"] { max-width: 100%; } }
@media print { .pdc-header-brand { display: block !important; } .pdc-input-section, .pdc-actions, .pdc-tabs { display: none !important; } .pdc-container { max-width: 100%; padding: 0; } .pdc-results { border: none; padding: 0; box-shadow: none; } .pdc-business-header { border-bottom-color: #be123c; } .pdc-quotation-title { color: #be123c; } .pdc-report-header h3 { color: #be123c; } }
