/*
 * e-Clinica Icon Set — Iconos SVG propios
 * Proyecto: e-Clinica
 * Todos los SVG son originales, creados para este proyecto.
 */

/* ── Base ─────────────────────────────────────────────────────────────── */
[class*="fa-"],
[class*="fas "],
[class*="fa-solid"],
[class*="fa-regular"],
[class*="fa-brands"] {
  display: inline-block;
  font-style: normal;
  line-height: 1;
  vertical-align: -0.125em;
}
[class*="fa-"]::before,
.fas::before,
.fa-solid::before,
.fa-regular::before,
.fa-brands::before {
  content: '';
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

/* ── Estetoscopio ─────────────────────────────────────────────────────── */
.fa-stethoscope::before,
.fa-solid.fa-stethoscope::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 6 6 6 6 0 0 0 6-6V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 6 6v0a6 6 0 0 0 6-6v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/svg%3E");
  filter: invert(1);
}

/* ── Médico / Doctor ──────────────────────────────────────────────────── */
.fa-user-doctor::before,
.fa-solid.fa-user-doctor::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 10c4.42 0 8 1.79 8 4v1H4v-1c0-2.21 3.58-4 8-4zm3 6v-2h1v2h2v1h-2v2h-1v-2h-2v-1h2z'/%3E%3C/svg%3E");
}

/* ── Hospital ─────────────────────────────────────────────────────────── */
.fa-hospital::before,
.fa-regular.fa-hospital::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 2H5a2 2 0 0 0-2 2v18h18V4a2 2 0 0 0-2-2zM8 20H6v-2h2v2zm0-4H6v-2h2v2zm4 4h-2v-2h2v2zm0-4h-2v-2h2v2zm5-4h-2V9h-2v3h-2V9h-2v3H9V8h10v4zm0 8h-2v-2h2v2zm0-4h-2v-2h2v2zm-4-8v2h-2V8h2zM11 6H8V4h3v2zm5 0h-3V4h3v2z'/%3E%3C/svg%3E");
}

/* ── Frasco de laboratorio ────────────────────────────────────────────── */
.fa-flask::before,
.fas.fa-flask::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 3v10.5L4.5 20A2 2 0 0 0 6.27 23h11.46a2 2 0 0 0 1.77-2.95L15 13.5V3H9zm4 0v3H11V3h2zm-5 9.5V5h6v7.5l3 5H6l3-5.5-.55.5z'/%3E%3C/svg%3E");
}

/* ── Premio / Award ───────────────────────────────────────────────────── */
.fa-award::before,
.fas.fa-award::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l2.4 7.4H22l-6.2 4.5 2.4 7.4L12 17l-6.2 4.3 2.4-7.4L2 9.4h7.6L12 2z'/%3E%3C/svg%3E");
}

/* ── Latido / Heartbeat ───────────────────────────────────────────────── */
.fa-heartbeat::before,
.fas.fa-heartbeat::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E");
}

/* ── Pastillas / Pills ────────────────────────────────────────────────── */
.fa-pills::before,
.fas.fa-pills::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cellipse cx='9' cy='5.5' rx='5' ry='3' transform='rotate(-45 9 5.5)' opacity='.3'/%3E%3Crect x='3' y='3' width='12' height='6' rx='3' transform='rotate(-45 9 6)' fill='none' stroke='currentColor' stroke-width='2'/%3E%3Cline x1='6' y1='6' x2='12' y2='12' stroke='currentColor' stroke-width='2'/%3E%3Ccircle cx='17' cy='17' r='4' fill='none' stroke='currentColor' stroke-width='2'/%3E%3Ccircle cx='17' cy='17' r='1.5' fill='currentColor'/%3E%3C/svg%3E");
}

/* ── Paciente hospitalizado ───────────────────────────────────────────── */
.fa-hospital-user::before,
.fas.fa-hospital-user::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M14 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM6 21v-1a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v1H6zm5-9h6a3 3 0 0 0-3-3 3 3 0 0 0-3 3zM2 7h2V5h2V3H4V1H2v2H0v2h2v2z'/%3E%3C/svg%3E");
}

/* ── ADN ──────────────────────────────────────────────────────────────── */
.fa-dna::before,
.fas.fa-dna::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 15c6.667-6 13.333 0 20-6M2 9c6.667 6 13.333 0 20 6'/%3E%3Cpath d='M2 15V9M22 15V9'/%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}

/* ── Silla de ruedas ──────────────────────────────────────────────────── */
.fa-wheelchair::before,
.fas.fa-wheelchair::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Ccircle cx='12' cy='4' r='2'/%3E%3Cpath d='M10 7h4v6h4l1 4h-2l-1-2H9V7h1zm-1 8H7v-2H5v3a2 2 0 0 0 2 2h3.18a5 5 0 1 0 7.6-2.15l-.9 1.8A3 3 0 1 1 14 19h-1.7L12 17H9v-2z'/%3E%3C/svg%3E");
}

/* ── Notas médicas ────────────────────────────────────────────────────── */
.fa-notes-medical::before,
.fas.fa-notes-medical::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-7 14H8v-2h4v2zm4-4H8v-2h8v2zm0-4h-3V7h-2v2H8V7H7v2H5V7h2V5h2v2h6V5h2v2h2v2h-2z'/%3E%3C/svg%3E");
}

/* ── Tubo con chequeo ─────────────────────────────────────────────────── */
.fa-vial-circle-check::before,
.fa-solid.fa-vial-circle-check::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 2v6l3 5'/%3E%3Cpath d='M9 2v6l-3 5a5 5 0 0 0 9.27 2'/%3E%3Ccircle cx='18' cy='18' r='4'/%3E%3Cpath d='m16.5 18 1 1 2-2'/%3E%3C/svg%3E");
}

/* ── Bomba médica ─────────────────────────────────────────────────────── */
.fa-pump-medical::before,
.fa-solid.fa-pump-medical::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2'/%3E%3Cpath d='M10 6h4M12 6v4M10 14h4M12 18v-4'/%3E%3C/svg%3E");
}

/* ── Corazón con X ────────────────────────────────────────────────────── */
.fa-heart-circle-xmark::before,
.fa-solid.fa-heart-circle-xmark::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.94A10 10 0 1 1 20.94 12'/%3E%3Cpath d='M15 9.5A3.5 3.5 0 0 0 9 12l3 3 3-3'/%3E%3Ccircle cx='17' cy='17' r='4'/%3E%3Cpath d='m15 19 4-4M19 19l-4-4'/%3E%3C/svg%3E");
}

/* ── Google ───────────────────────────────────────────────────────────── */
.fa-google::before,
.fa-brands.fa-google::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z' fill='%234285F4'/%3E%3Cpath d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z' fill='%2334A853'/%3E%3Cpath d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z' fill='%23FBBC05'/%3E%3Cpath d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z' fill='%23EA4335'/%3E%3C/svg%3E");
}
