:root {
  --valentine-male: #7a1020;
  --valentine-female: #d9467a;
  --valentine-bg: #fff6fa;
  --valentine-ink: #1b1b1b;
  --valentine-muted: rgba(27, 27, 27, 0.68);
  --valentine-border: rgba(0, 0, 0, 0.08);
  --valentine-shadow-neutral: rgba(0, 0, 0, 0.12);
}

#dog-carousel .slideshow-dog-card {
  border: 2px solid transparent !important;
  background-color: var(--valentine-bg);
  border-radius: 0.75rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

#dog-carousel .slideshow-dog-card:hover {
  transform: translateY(-3px);
}

#dog-carousel .slideshow-dog-card.dog-male {
  border-color: var(--valentine-male) !important;
}

#dog-carousel .slideshow-dog-card.dog-female {
  border-color: var(--valentine-female) !important;
}

#dog-carousel .slideshow-dog-card.dog-male:hover {
  box-shadow: 0 0.75rem 1.25rem rgba(122, 16, 32, 0.16);
}

#dog-carousel .slideshow-dog-card.dog-female:hover {
  box-shadow: 0 0.75rem 1.25rem rgba(217, 70, 122, 0.16);
}

#dog-carousel .slideshow-dog-card .dog-name {
  font-size: 1.5rem;
  font-weight: 500;
}

#dog-carousel .slideshow-dog-card .dog-breed, #dog-carousel .slideshow-dog-card .dog-age {
  font-size: 1rem;
  font-weight: 400;
}

#dog-carousel .slideshow-dog-card.dog-male .dog-name, #dog-carousel .slideshow-dog-card.dog-male .dog-breed, #dog-carousel .slideshow-dog-card.dog-male .dog-age {
  color: var(--valentine-male);
}

#dog-carousel .slideshow-dog-card.dog-female .dog-name, #dog-carousel .slideshow-dog-card.dog-female .dog-breed, #dog-carousel .slideshow-dog-card.dog-female .dog-age {
  color: var(--valentine-female);
}

#dog-carousel .dog-gender-icon {
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  user-select: none;
}

#dog-carousel .slideshow-dog-card.dog-male .dog-gender-icon {
  background-color: var(--valentine-male);
}

#dog-carousel .slideshow-dog-card.dog-female .dog-gender-icon {
  background-color: var(--valentine-female);
}

#dog-carousel .slideshow-dog-card .card-img-top {
  border-top-left-radius: 0.75rem !important;
  border-top-right-radius: 0.75rem !important;
}

#dog-carousel .carousel-inner, #dog-carousel .carousel-item {
  overflow: visible;
}

#dog-carousel .carousel-item .row, #dog-carousel .carousel-item .col {
  overflow: visible;
}

#dog-carousel .dog-card-clickable {
  cursor: pointer;
}

#dog-carousel .slideshow-dog-card {
  position: relative;
  overflow: hidden;
}

#dog-carousel .slideshow-dog-card .valentine-heart {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0.9;
  pointer-events: none;
  transform: rotate(12deg);
  z-index: 5;
}

#dog-carousel .slideshow-dog-card.dog-male .valentine-heart {
  color: var(--valentine-male);
}

#dog-carousel .slideshow-dog-card.dog-female .valentine-heart {
  color: var(--valentine-female);
}

#dogProfileModal.modal-valentine .modal-content {
  border-radius: 0.75rem !important;
  background-color: var(--valentine-bg);
  border: 2px solid transparent;
  box-shadow: 0 0.75rem 1.25rem var(--valentine-shadow-neutral);
}

#dogProfileModal.modal-valentine, #dogProfileModal.modal-valentine .modal-content, #dogProfileModal.modal-valentine .modal-header, #dogProfileModal.modal-valentine .modal-body, #dogProfileModal.modal-valentine .modal-footer {
  color: var(--valentine-ink) !important;
}

#dogProfileModal.modal-valentine .text-muted {
  color: var(--valentine-muted) !important;
}

#dogProfileModal.modal-valentine a {
  color: var(--valentine-ink) !important;
  text-decoration-color: rgba(27, 27, 27, 0.25);
}

#dogProfileModal.modal-valentine a:hover {
  text-decoration-color: rgba(27, 27, 27, 0.5);
}

#dogProfileModal.modal-valentine .modal-header, #dogProfileModal.modal-valentine .modal-footer {
  border-color: var(--valentine-border) !important;
}

#dogProfileModal.modal-valentine .modal-title {
  font-size: 1.75rem;
  font-weight: 600;
}

#dogProfileModal.modal-valentine.modal-male .modal-content {
  border-color: var(--valentine-male);
  box-shadow: 0 0.75rem 1.25rem rgba(122, 16, 32, 0.14);
}

#dogProfileModal.modal-valentine.modal-female .modal-content {
  border-color: var(--valentine-female);
  box-shadow: 0 0.75rem 1.25rem rgba(217, 70, 122, 0.14);
}

#dogProfileModal.modal-valentine.modal-male .modal-title {
  color: var(--valentine-male) !important;
}

#dogProfileModal.modal-valentine.modal-female .modal-title {
  color: var(--valentine-female) !important;
}

#dogProfileModal.modal-valentine .modal-header {
  position: relative;
}

#dogProfileModal.modal-valentine .modal-header::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1px;
  height: 2px;
  background: transparent;
  opacity: 0.9;
}

#dogProfileModal.modal-valentine.modal-male .modal-header::after {
  background: rgba(122, 16, 32, 0.35);
}

#dogProfileModal.modal-valentine.modal-female .modal-header::after {
  background: rgba(217, 70, 122, 0.35);
}

#dogProfileModal.modal-valentine.modal-male .modal-body strong {
  color: var(--valentine-male) !important;
}

#dogProfileModal.modal-valentine.modal-female .modal-body strong {
  color: var(--valentine-female) !important;
}

#dogProfileModal.modal-valentine .btn-close {
  opacity: 0.6;
}

#dogProfileModal.modal-valentine .btn-close:hover {
  opacity: 1;
}

#dogProfileModal.modal-valentine .modal-footer a.btn {
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.6rem 1.25rem;
  color: #fff !important;
  border: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

#dogProfileModal.modal-valentine.modal-male .modal-footer a.btn {
  background-color: var(--valentine-male);
  box-shadow: 0 0.4rem 0.9rem rgba(122, 16, 32, 0.25);
}

#dogProfileModal.modal-valentine.modal-female .modal-footer a.btn {
  background-color: var(--valentine-female);
  box-shadow: 0 0.4rem 0.9rem rgba(217, 70, 122, 0.25);
}

#dogProfileModal.modal-valentine.modal-male .modal-footer a.btn:hover {
  background-color: #64101a;
  transform: translateY(-1px);
}

#dogProfileModal.modal-valentine.modal-female .modal-footer a.btn:hover {
  background-color: #c63e6f;
  transform: translateY(-1px);
}

#dogProfileModal.modal-valentine .modal-footer a.btn:active {
  transform: translateY(0);
  box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.2);
}

#dogProfileModal.modal-valentine.modal-male h6 {
  color: rgba(122, 16, 32, 0.75);
  letter-spacing: 0.02em;
}

#dogProfileModal.modal-valentine.modal-female h6 {
  color: rgba(217, 70, 122, 0.75);
  letter-spacing: 0.02em;
}

#dogProfileModal.modal-valentine.modal-male img {
  border-color: rgba(122, 16, 32, 0.35) !important;
}

#dogProfileModal.modal-valentine.modal-female img {
  border-color: rgba(217, 70, 122, 0.35) !important;
}

#dogProfileModal.modal-valentine hr {
  border-top: 1px solid transparent;
}

#dogProfileModal.modal-valentine.modal-male hr {
  border-color: rgba(122, 16, 32, 0.25);
}

#dogProfileModal.modal-valentine.modal-female hr {
  border-color: rgba(217, 70, 122, 0.25);
}

