/* Agenda Page Styles */
.agenda__wizard-wrap {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.agenda__progress {
  position: relative;
  margin-bottom: 40px;
}

.agenda__steps {
  display: flex;
  justify-content: space-between;
}

.agenda__steps .step {
  font-weight: 600;
  color: #999;
  padding-bottom: 10px;
  border-bottom: 3px solid #eee;
  flex: 1;
  text-align: center;
  transition: all 0.3s ease;
}

.agenda__steps .step.active {
  color: #1a73e8; /* Assuming a blue accent, change to matched theme if needed */
  border-bottom-color: #1a73e8;
}

.service-card {
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 35px 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.service-card:hover,
.service-card.selected {
  border-color: #1a73e8;
  background: #f4f8ff;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-card .icon {
  font-size: 45px;
  color: #1a73e8;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .icon,
.service-card.selected .icon {
  transform: scale(1.1);
  color: #002169;
}

.service-card h5 {
  font-size: 18px;
  font-weight: 700;
  color: #002169;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 0;
}
/* Tarjeta de mascota (horizontal, compacta y legible) */
.pet-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid #eef0f4;
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  height: calc(100% - 16px);
  position: relative;
}
.pet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09);
  border-color: #d8c4da;
}
.pet-card.selected {
  border-color: #28a745;
  box-shadow: 0 10px 26px rgba(40, 167, 69, 0.18);
}
.pet-card.selected .petc__pick {
  color: #28a745;
  transform: scale(1.2);
}

.petc__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  background: #eee;
}
.petc__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.petc__info {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.petc__name {
  font-size: 16px;
  font-weight: 700;
  color: #002169;
  text-transform: capitalize;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.petc__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.petc__chip {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(123, 62, 127, 0.1);
  color: #7b3e7f;
}
.petc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  color: #6c757d;
}
.petc__meta i {
  margin-right: 3px;
  color: #894b8d;
}

.petc__pick {
  flex-shrink: 0;
  color: #c7ccd6;
  font-size: 16px;
  transition: all 0.2s ease;
}

/* Badges fértil / castrado (reutilizados, estilo chip) */
.badge-fertil {
  background: rgba(40, 167, 69, 0.12);
  color: #1f7a45;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 600;
}
.badge-castrado {
  background: rgba(108, 117, 125, 0.14);
  color: #5a6169;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 600;
}

.btn-volver {
  background-color: #6c757d;
  color: white;
}
.btn-volver:hover {
  background-color: #5a6268;
  color: white;
}

/* Calendar & Slots */
.toggle-view-group .btn {
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
}
.toggle-view-group .btn.active {
  box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.day-card {
  background: white;
  border-radius: 15px;
  border: 2px solid #eee;
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.day-card.disabled {
  background: #f8f9fa;
  color: #adb5bd;
  cursor: not-allowed;
  border-color: #f1f3f5;
}
.day-card.disabled h5 {
  color: #adb5bd;
}
.day-card.bloqueado {
  background: repeating-linear-gradient(45deg, #fff5f5, #fff5f5 7px, #ffe9e9 7px, #ffe9e9 14px);
  border-color: #f1c4c4;
  cursor: not-allowed;
}
.day-card.bloqueado .day-name,
.day-card.bloqueado .day-date {
  color: #c0392b;
}
.day-card.bloqueado .day-slots {
  color: #c0392b;
  font-weight: 700;
}
.day-card:not(.disabled):hover,
.day-card.selected {
  border-color: #1a73e8;
  background: #f4f8ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}
.day-card .day-name {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: #6c757d;
  margin-bottom: 5px;
}
.day-card .day-date {
  font-size: 24px;
  font-weight: 800;
  color: #002169;
  margin-bottom: 5px;
}
.day-card .day-slots {
  font-size: 12px;
  color: #28a745;
  font-weight: 600;
}

.slot-card {
  background: white;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  padding: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.slot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 5px;
  background: #1a73e8;
  transition: width 0.3s ease;
}
.slot-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-color: #1a73e8;
}
.slot-card:hover::before {
  width: 8px;
}
.slot-card .slot-time {
  font-size: 20px;
  font-weight: 800;
  color: #002169;
  margin-bottom: 5px;
}
.slot-card .slot-doctor {
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 5px;
}
.slot-card .slot-box {
  font-size: 12px;
  color: #6c757d;
}
.slot-card.doctor-view .slot-date-badge {
  background: #e9ecef;
  color: #495057;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
  display: inline-block;
}
/* Carnet Module Specific */
.carnet-slot-final-btn {
  transition: all 0.3s ease !important;
}

.carnet-slot-final-btn:hover {
  background-color: #002169 !important;
  color: #ffffff !important;
  border-color: #002169 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 33, 105, 0.2) !important;
}

.carnet-slot-final-btn.selected {
  background-color: #8c61ff !important;
  color: #ffffff !important;
  border-color: #8c61ff !important;
  box-shadow: 0 8px 20px rgba(140, 97, 255, 0.4) !important;
}

#btn-carnet-prev-week:hover,
#btn-carnet-next-week:hover {
  background-color: #8c61ff !important;
  color: #ffffff !important;
  border-color: #8c61ff !important;
  transform: scale(1.1);
}
