/* /assets/css/cv.css */
:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --brand1: #6d28d9;
  --brand2: #a78bfa;
  --ring: rgba(109, 40, 217, .18);
}

body{
  background: radial-gradient(1200px 600px at 10% -10%, rgba(167,139,250,.35), transparent 60%),
              radial-gradient(900px 500px at 110% 10%, rgba(109,40,217,.18), transparent 55%),
              var(--bg);
  color: var(--text);
}

.hero{
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(109,40,217,.95), rgba(167,139,250,.95));
  color:#fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
  overflow:hidden;
  position: relative;
}
.hero:after{
  content:"";
  position:absolute;
  inset:-40% -40% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 60%);
  transform: rotate(10deg);
  pointer-events:none;
}

.card-soft{
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.form-control, .form-select{
  border-radius: 12px;
  border-color: rgba(15, 23, 42, .14);
  padding: .7rem .85rem;
}
.form-control:focus, .form-select:focus{
  border-color: rgba(109,40,217,.55);
  box-shadow: 0 0 0 .25rem var(--ring);
}

.label-muted{
  color: var(--muted);
  font-size: .92rem;
}

.toolbar{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  padding:.55rem .65rem;
  border:1px solid rgba(15, 23, 42, .14);
  border-bottom:0;
  border-radius: 12px 12px 0 0;
  background: #fbfbfe;
}
.toolbar button{
  border:1px solid rgba(15, 23, 42, .12);
  background:#fff;
  border-radius: 10px;
  padding:.35rem .55rem;
  font-size:.9rem;
  line-height:1;
}
.toolbar button:hover{
  border-color: rgba(109,40,217,.35);
}
textarea.form-control{
  border-radius: 0 0 12px 12px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.35;
  min-height: 130px;
  resize: vertical;
}

.btn-brand{
  background: linear-gradient(135deg, rgba(109,40,217,1), rgba(167,139,250,1));
  border:0;
  border-radius: 14px;
  padding: .85rem 1.1rem;
  box-shadow: 0 14px 26px rgba(109,40,217,.22);
}
.btn-brand:hover{
  filter: brightness(1.03);
}

.footer-note{
  color: var(--muted);
  font-size: .9rem;
}

/* ===== extras movidos desde cv.php ===== */

/* Bootstrap invalid-feedback normalmente depende de :invalid + was-validated.
   Nosotros lo mostramos siempre cuando tenga texto. */
.invalid-feedback{
  display:block;
}

/* ayudas de campo */
.field-help{
  color: var(--muted);
  font-size: .92rem;
}

/* Teléfono WhatsApp: mantener select + input en una sola línea */
.wa-group .form-select{
  flex: 0 0 auto;
  width: auto;
  min-width: 185px;   /* suficiente para "🇦🇷 Argentina (+549)" */
  max-width: 220px;
}

.wa-group .form-control{
  min-width: 0;       /* permite que el input se achique sin romper el layout */
}

/* En pantallas chicas, achicamos un poco el select */
@media (max-width: 420px){
  .wa-group .form-select{
    min-width: 160px;
  }
}

