/* C:\Users\Alejandro\Documents\DogEpiMonitor\WEB\veterinarios.css */

/* ─── HERO MOCKUP VET ─── */
.hero-mockup-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 40px;
  background: #000;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.15);
  border: 4px solid #1e293b;
}

.hero-phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9/19.5;
  border-radius: 32px;
  overflow: hidden;
  background: #070913;
  border: 2px solid #000;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background: #000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

/* ─── VET PROBLEM SECTION ─── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

@media (min-width: 992px) {
  .problem-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.problem-card-highlight {
  background: rgba(239, 68, 68, 0.05);
  border: 1px dashed rgba(239, 68, 68, 0.25);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.problem-card-highlight i {
  color: #ef4444;
  font-size: 24px;
  margin-top: 4px;
}

/* ─── VET DETAILS SECTION ─── */
.video-wrapper-tablet {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  background: #000;
  padding: 10px;
  border: 3px solid #334155;
  box-shadow: var(--shadow-premium);
}

.video-screen {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/10;
  display: block;
}

/* ─── SCIENCE SECTION (BAROMETER & PREDICTOR) ─── */
.science-grid-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 50px;
}

@media (min-width: 992px) {
  .science-grid-split {
    grid-template-columns: 1fr 1fr;
  }
}

.science-box {
  background: var(--grad-dark-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.gauge-container {
  position: relative;
  width: 240px;
  height: 120px;
  margin: 30px auto;
  overflow: hidden;
}

.gauge-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #10b981 0deg,
    #10b981 60deg,
    #f59e0b 60deg,
    #f59e0b 120deg,
    #ef4444 120deg,
    #ef4444 180deg
  );
  mask: radial-gradient(circle 90px at 50% 50%, transparent 100%, #000 100%);
  -webkit-mask: radial-gradient(circle 90px at 50% 50%, transparent 95px, #000 96px);
}

.gauge-needle-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 100px;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-70deg);
  transition: transform 3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gauge-needle {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.gauge-center-pin {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  border: 4px solid #070913;
  z-index: 5;
}

.confidence-bar-wrapper {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  height: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.confidence-bar-fill {
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  width: 20%;
  height: 100%;
  border-radius: 12px;
  transition: width 2.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.confidence-pct-badge {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

/* ─── BREED RISK CARDS ─── */
.breed-scores-container {
  margin-top: 40px;
}

.breed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .breed-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.breed-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  transition: var(--transition-smooth);
}

.breed-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.breed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.breed-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.breed-score-badge {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.score-critical { color: #8b5cf6; background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.3); }
.score-high { color: #ef4444; background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); }
.score-medium { color: #f59e0b; background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); }
.score-standard { color: #10b981; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }

.breed-progress-bg {
  background: rgba(255, 255, 255, 0.05);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.breed-progress-fill {
  height: 100%;
  border-radius: 4px;
}

.fill-critical { background: #8b5cf6; width: 100%; }
.fill-high { background: #ef4444; }
.fill-medium { background: #f59e0b; }
.fill-standard { background: #10b981; }

.breed-desc-text {
  font-size: 13px;
  color: var(--text-gray-muted);
  line-height: 1.5;
}

/* ─── BIBLIOGRAPHY LIST ─── */
.bibliography-scroller {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  max-height: 350px;
  overflow-y: auto;
  margin-top: 30px;
}

.bib-item {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-gray-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bib-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.bib-item i {
  color: #6366f1;
  margin-right: 8px;
}

/* ─── COLLABORATORS SECTION ─── */
.collab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 992px) {
  .collab-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.collab-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
}

.collab-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.collab-card h3 i {
  color: #2dd4bf;
}

.collab-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.collab-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.collab-item:last-child {
  margin-bottom: 0;
}

.collab-item-num {
  background: rgba(45, 212, 191, 0.1);
  color: #2dd4bf;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.collab-item-check {
  color: #f97316;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.collab-item-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-gray-light);
  line-height: 1.6;
}

/* ─── FORM SLATE & INPUTS ─── */
.form-container-slate {
  background: var(--grad-dark-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  max-width: 650px;
  margin: 40px auto 0;
  box-shadow: var(--shadow-premium);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .form-group-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.input-slate {
  background: #0a0e1c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.input-slate:focus {
  border-color: #2dd4bf !important;
  outline: none !important;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.25) !important;
}

.select-slate {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px !important;
}

.success-card-vet {
  text-align: center;
  padding: 30px;
}

.success-icon-vet {
  font-size: 50px;
  color: #10b981;
  margin-bottom: 20px;
}

.footer-vet-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray-muted);
  margin-top: 15px;
}

/* ─── DESKTOP BROWSER MOCKUP ─── */
.browser-mockup {
  background: #18181b;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.browser-header {
  background: #0f0f11;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-address {
  background: #1e1e24;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-gray-muted);
  padding: 4px 12px;
  flex-grow: 1;
  text-align: center;
  font-family: var(--font-body);
  user-select: none;
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-content {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #070913;
}

.browser-screenshot {
  width: 100%;
  height: 114%; /* Stretch slightly to cover Windows taskbar & browser header */
  object-fit: cover;
  object-position: center 38%; /* Align with the chronology chart */
  position: absolute;
  top: -7%; /* Crop localhost bar */
  left: 0;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.browser-mockup:hover .browser-screenshot {
  transform: scale(1.1); /* Hover zoom in/out effect */
}

