/* styles.css - Paleta basada en webdesignjmi.com */
:root{
  /* Colores principales */
  --black: #000000;
  --near-black: #030303;
  --dark-gray: #181818;
  --muted-gray: #333333;
  --soft-gray: #D5D5D5;
  --white: #FFFFFF;
  --bg: #FDFDFD;

  /* Acentos */
  --accent-1: #0C92C9; /* primary cyan */
  --accent-2: #006FBF; /* secondary blue */
  --warm: #F0AD4E;     /* highlight / warning */

  /* UI */
  --card: #FFFFFF;
  --glass: rgba(2,1,1,0.06);
  --radius: 12px;
  --maxw: 1100px;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset ligero */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font-sans);
  background:#eaeaea;
  color:var(--near-black);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:28px;
  display:flex;
  justify-content:center;
}

/* Layout */
.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:20px;
}

/* Header */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
header h1{
  margin:0;
  font-size:1.5rem;
  font-weight:700;
  color:var(--dark-gray);
  letter-spacing:-0.2px;
}
.lead{
  color:var(--muted-gray);
  margin-top:6px;
  font-size:0.95rem;
}

/* Cards */
.card{
  background:#CCCCCC;
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 8px 30px var(--glass);
  margin:18px 0;
  border:1px solid rgba(12,146,201,0.06);
}

/* Form elements */
label{display:block;margin:10px 0;font-size:0.95rem;color:var(--dark-gray)}
input[type="text"], input[type="email"], textarea, select{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #e9eef3;
  background:linear-gradient(180deg,#fff,#fbfdff);
  font-size:0.95rem;
  color:var(--near-black);
  outline:none;
  transition:box-shadow .18s ease, border-color .12s ease;
}
input:focus, textarea:focus, select:focus{
  box-shadow:0 6px 18px rgba(12,146,201,0.12);
  border-color:var(--accent-1);
}

/* Checkboxes / radios inline */
.checkbox, .radio{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-right:12px;
  color:var(--muted-gray);
  font-size:0.92rem;
}

/* Buttons */
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:10px;
  border:1px solid transparent;
  cursor:pointer;
  font-weight:600;
  font-size:0.95rem;
  transition:transform .08s ease, box-shadow .12s ease;
}
.btn:active{transform:translateY(1px)}
.btn.primary{
  background:linear-gradient(180deg,var(--accent-1),var(--accent-2));
  color:var(--white);
  box-shadow:0 8px 24px rgba(12,146,201,0.18);
  border-color:rgba(0,111,191,0.12);
}
.btn.ghost{
  background:transparent;
  color:var(--accent-1);
  border:1px solid rgba(12,146,201,0.12);
}

/* Document / Brief */
.document{
  background:#CCCCCC;
  padding:22px;
  border-radius:14px;
  box-shadow:0 12px 40px rgba(2,1,1,0.04);
  border:1px solid rgba(3,3,3,0.03);
}
.document h2{margin-top:0;color:var(--dark-gray);font-size:1.25rem}
.document h3{color:var(--muted-gray);font-size:1rem;margin-bottom:8px}

/* Table Estimation */
.estimation{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
  font-size:0.95rem;
}
.estimation th, .estimation td{
  padding:10px 12px;
  border-bottom:1px dashed rgba(3,3,3,0.04);
  text-align:left;
}
.estimation thead th{
  color:var(--muted-gray);
  font-weight:700;
  font-size:0.9rem;
}
.estimation tfoot th{
  font-weight:700;
  color:var(--dark-gray);
}

/* Badges and small UI */
.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,111,191,0.08);
  color:var(--accent-2);
  font-weight:600;
  font-size:0.85rem;
}

/* Footer */
footer{margin-top:22px;color:var(--muted-gray);font-size:0.9rem}

/* Responsive */
@media (max-width:900px){
  header{flex-direction:column;align-items:flex-start;gap:6px}
  .actions{flex-direction:column}
  .estimation th, .estimation td{padding:8px}
}