/* ============================================================
 * Acta de Baja de Equipos — overlay, formulario, hoja imprimible
 * ============================================================ */
.baja-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);z-index:9999;display:flex;justify-content:center;align-items:flex-start;padding:20px;overflow-y:auto}
.baja-panel{background:#fff;border-radius:12px;max-width:900px;width:100%;box-shadow:0 8px 40px rgba(0,0,0,.2);display:flex;flex-direction:column;max-height:95vh}
.baja-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid #e2e8f0}
.baja-header h2{margin:0;font-size:18px;color:#dc2626}
.baja-close{background:none;border:none;font-size:22px;cursor:pointer;color:#94a3b8;padding:4px 8px}
.baja-close:hover{color:#1e293b}
.baja-body{overflow-y:auto;padding:20px 24px;flex:1}
.baja-footer{padding:14px 24px;border-top:1px solid #e2e8f0;display:flex;gap:10px;justify-content:flex-end}
.bf-section{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}
.bf-section h3{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:#0ea5e9;font-weight:700;margin-bottom:10px}
.bf-data{width:100%;border-collapse:collapse;font-size:13px}
.bf-data td{padding:6px 10px;border:1px solid #e2e8f0}
.bf-data td:first-child{width:180px;font-weight:600;background:#f8fafc;color:#475569}
.bf-comp{width:100%;border-collapse:collapse;font-size:13px;margin-top:8px}
.bf-comp th{background:#1e293b;color:#fff;padding:8px;font-size:11px;text-transform:uppercase}
.bf-comp td{padding:8px;border:1px solid #e2e8f0;text-align:center}
.bf-comp td:first-child{text-align:left;font-weight:600}
.bf-comp input[type="radio"]{width:16px;height:16px;accent-color:#0ea5e9}
.bf-section textarea{width:100%;padding:10px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;resize:vertical}

/* ============ HOJA IMPRIMIBLE DEL ACTA ============ */
.baja-print-sheet{font-family:'Segoe UI',Arial,sans-serif;color:#1e293b;font-size:12px;line-height:1.5;background:#fff}
.bp-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.bp-logo{font-size:20px;font-weight:800;color:#0ea5e9;letter-spacing:1px}
.bp-right{text-align:right;font-size:11px;color:#0ea5e9}
.bp-right small{color:#dc2626;font-style:italic}
.bp-line{border:none;border-top:3px solid #0ea5e9;margin:8px 0 16px}
.bp-title{text-align:center;font-size:16px;font-weight:800;margin-bottom:2px;color:#1e293b}
.bp-sub{text-align:center;font-size:10px;color:#64748b;margin:2px 0 14px}
.bp-info{width:100%;border-collapse:collapse;margin-bottom:14px;font-size:12px}
.bp-info td{padding:5px 10px;border:1px solid #e2e8f0}
.bp-info td:first-child{width:160px;font-weight:600;background:#f0f9ff}
.bp-sh{font-size:13px;color:#0ea5e9;font-weight:700;margin:16px 0 8px;border-bottom:1px solid #e2e8f0;padding-bottom:4px}
.bp-data{width:100%;border-collapse:collapse;font-size:12px;margin-bottom:8px}
.bp-data td{padding:5px 10px;border:1px solid #e2e8f0}
.bp-data td:first-child{width:180px;font-weight:600;background:#f0f9ff}
.bp-dest{font-size:12px;padding:8px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:4px}
.bp-comp{width:100%;border-collapse:collapse;font-size:12px;margin-top:6px}
.bp-comp th{background:#0ea5e9;color:#fff;padding:6px 8px;font-size:10px;text-transform:uppercase}
.bp-comp td{padding:5px 8px;border:1px solid #e2e8f0}
.bp-comp td:first-child{font-weight:600}
.bp-obs{font-size:12px;padding:10px;border:1px solid #e2e8f0;min-height:50px;border-radius:4px;background:#f8fafc;margin-bottom:12px}
.bp-sigs{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:16px}
.bp-sig{text-align:left;font-size:11px}
.bp-sig div{margin-top:3px}
.bp-sig b{color:#0ea5e9}
.bp-sig-line{border-bottom:2px solid #1e293b;width:220px;height:40px;margin-bottom:6px}
.bp-footer{text-align:center;font-size:10px;color:#64748b;margin-top:20px;padding-top:10px;border-top:2px solid #0ea5e9}

/* Print mode */
@media print{
  .baja-overlay{position:static;background:none;padding:0}
  .baja-panel{box-shadow:none;border-radius:0;max-height:none}
  .baja-header,.baja-footer,.baja-form{display:none!important}
  .baja-body{overflow:visible;padding:0}
  .baja-print-sheet{display:block!important}
  @page{margin:10mm;size:letter}
}
