:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
body {
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
  background: linear-gradient(150deg, rgb(69, 181, 255), rgb(108, 0, 197),rgb(69, 181, 255), rgb(108, 0, 197));
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}
.frontmenu {
  width: 100%;
  height: 3pc;
  position: fixed;
  background-color: black;
  left: 0%;
  bottom: 0%;
  z-index: 3;
}

.titulosColor{
  color: white;
}

/* Toast flotante centrado para clientes */
.toast-expediente-flotante {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.3s ease-out;
}

.toast-expediente-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.toast-expediente-content {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 25px;
  padding: 50px 40px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  text-align: center;
  min-width: 350px;
  max-width: 450px;
  width: 90%;
  transform: scale(0.8);
  opacity: 0;
  animation: popInContent 0.4s ease-out 0.1s forwards;
}

.toast-expediente-icon {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  animation: bounceIcon 0.8s ease-out 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.toast-expediente-titulo {
  color: #2c3e50;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px 0;
  opacity: 0;
  animation: slideUpText 0.5s ease-out 0.4s forwards;
  font-family: 'Times New Roman', serif;
}

.toast-expediente-texto {
  color: #6c757d;
  font-size: 18px;
  margin: 0;
  line-height: 1.6;
  opacity: 0;
  animation: slideUpText 0.5s ease-out 0.6s forwards;
  font-family: 'Times New Roman', serif;
}

/* Variante para error */
.toast-expediente-error .toast-expediente-content {
  background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
}

.toast-expediente-error .toast-expediente-titulo {
  color: #e53e3e;
}

.toast-expediente-error .toast-expediente-texto {
  color: #c53030;
}

/* Animaciones */
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popInContent {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounceIcon {
  0% {
    transform: scale(0.3) rotate(-180deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.2) rotate(0deg);
    opacity: 0.9;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes slideUpText {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOutOverlay {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .toast-expediente-content {
    padding: 40px 30px;
    min-width: 320px;
  }
  
  .toast-expediente-titulo {
    font-size: 24px;
  }
  
  .toast-expediente-texto {
    font-size: 16px;
  }
  
  .toast-expediente-icon svg {
    width: 80px;
    height: 80px;
  }
}

/* ─── Inputs del modal de producto veterinaria ───────────────────────────── */
.vet-form-input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 15px;
  font-family: 'Times New Roman', serif;
  outline: none;
  background: #fafafa;
  transition: border-color 0.18s, background 0.18s;
  -webkit-appearance: none;
  appearance: none;
}
.vet-form-input:focus {
  border-color: #45B5FF;
  background: white;
  box-shadow: 0 0 0 3px rgba(69,181,255,0.12);
}

.prod-spinner-vet {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(69, 181, 255, 0.25);
  border-top-color: #45B5FF;
  border-radius: 50%;
  animation: prodSpinVet 0.75s linear infinite;
}

@keyframes prodSpinVet {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .toast-expediente-content {
    padding: 35px 25px;
    min-width: 280px;
  }
  
  .toast-expediente-titulo {
    font-size: 22px;
  }
  
  .toast-expediente-texto {
    font-size: 15px;
  }
  
  .toast-expediente-icon svg {
    width: 70px;
    height: 70px;
  }
}