/** Shopify CDN: Minification failed

Line 1026:5 Unexpected "="
Line 2062:3 Unexpected "0"
Line 2487:0 Comments in CSS use "/* ... */" instead of "//"

**/
/* ==========================================
   GUARDIAN PORTAL - COMPLETE CSS
   All styles for Guardian Portal Dashboard
   Version: 2024-10-30
   ========================================== */

/* ==========================================
   PAUSED/CANCELLED STATE STYLES
   ========================================== */
.paused-state,
.cancelled-state {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.paused-state h2,
.cancelled-state h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #4A1C1C;
  margin-bottom: 16px;
}

.blurred-preview {
  background: rgba(255, 255, 255, 0.5);
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 32px;
  margin: 32px 0;
  backdrop-filter: blur(5px);
}

.preview-item {
  font-size: 18px;
  margin: 12px 0;
  color: #666;
}

.seahorse-reminder {
  background: #FFF8E7;
  border: 2px solid #B8860B;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.seahorse-reminder ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.seahorse-reminder li {
  font-size: 18px;
  font-weight: 600;
  color: #4A1C1C;
  margin: 8px 0;
}

.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: #B8860B;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #9A7209;
  transform: translateY(-2px);
}

/* ==========================================
   GROTTO UPDATES FEED STYLES
   ========================================== */
.updates-feed-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Seahorse Filter Tabs */
.seahorse-filter-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.seahorse-tab {
  padding: 12px 24px;
  background: white;
  border: 2px solid #2F5233;
  border-radius: 25px;
  color: #2F5233;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.seahorse-tab:hover {
  background: #E8F5E9;
  transform: translateY(-2px);
}

.seahorse-tab.active {
  background: #2F5233;
  color: white;
}

/* Update Type Filter Tabs */
.update-type-filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.type-tab {
  padding: 8px 20px;
  background: white;
  border: 2px solid #B8860B;
  border-radius: 20px;
  color: #B8860B;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.type-tab:hover {
  background: #FFF8E7;
}

.type-tab.active {
  background: #B8860B;
  color: white;
}

/* Updates Feed Grid */
.updates-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Update Card */
.update-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content {
  padding: 20px;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.seahorse-tag {
  background: #2F5233;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.badge-feeding {
  background: #4CAF50;
}

.badge-behavior {
  background: #2196F3;
}

.badge-breeding {
  background: #E91E63;
}

.badge-health-wellness {
  background: #FF9800;
}

.badge-social-interaction {
  background: #9C27B0;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #4A1C1C;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.card-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.all-guardians-note {
  background: #E3F2FD;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #1976D2;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.photo-count {
  font-size: 13px;
  color: #B8860B;
  font-weight: 600;
  margin-bottom: 12px;
}

.read-more {
  color: #B8860B;
  font-weight: 700;
  font-size: 14px;
}

.read-more:hover {
  text-decoration: underline;
}

/* No Updates Message */
.no-updates-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #F5F5F5;
  border-radius: 8px;
}

.no-updates-message p {
  font-size: 16px;
  color: #666;
  margin: 8px 0;
}

/* Load More Button */
.load-more-container {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
}

.load-more-btn {
  display: inline-block;
  padding: 16px 32px;
  background: #B8860B;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.load-more-btn:hover {
  background: #9A7209;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.load-more-btn:active {
  transform: translateY(0);
}

/* ==========================================
   FILTER CONTROLS
   ========================================== */
.filter-controls-container {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.sort-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sort-control label {
  font-size: 14px;
  font-weight: 600;
  color: #4A1C1C;
}

.sort-select {
  padding: 10px 16px;
  border: 2px solid #B8860B;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #4A1C1C;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.sort-select:hover {
  background: #FFF8E7;
}

.sort-select:focus {
  outline: none;
  border-color: #9A7209;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.date-filter-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-filter-control > label {
  font-size: 14px;
  font-weight: 600;
  color: #4A1C1C;
}

.date-preset {
  padding: 10px 16px;
  border: 2px solid #2F5233;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #4A1C1C;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 180px;
}

.date-preset:hover {
  background: #E8F5E9;
}

.date-preset:focus {
  outline: none;
  border-color: #1a3a1f;
  box-shadow: 0 0 0 3px rgba(47, 82, 51, 0.1);
}

.custom-date-inputs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  background: #F5F5F5;
  border-radius: 6px;
  flex-wrap: wrap;
}

.date-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.date-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
}

.date-input {
  padding: 8px 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #4A1C1C;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.date-input:hover {
  border-color: #B8860B;
}

.date-input:focus {
  outline: none;
  border-color: #B8860B;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.btn-apply-dates,
.btn-clear-dates {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-end;
}

.btn-apply-dates {
  background: #2F5233;
  color: white;
}

.btn-apply-dates:hover {
  background: #1a3a1f;
}

.btn-clear-dates {
  background: #ddd;
  color: #4A1C1C;
}

.btn-clear-dates:hover {
  background: #ccc;
}

/* ==========================================
   MEDIA GALLERY GRID
   ========================================== */
.card-media-gallery {
  position: relative;
  display: grid;
  gap: 4px;
  width: 100%;
  background: #f5f5f5;
}

.card-media-gallery[data-media-count="1"] {
  grid-template-columns: 1fr;
}

.card-media-gallery[data-media-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.card-media-gallery[data-media-count="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.card-media-gallery[data-media-count="4"] {
  grid-template-columns: repeat(2, 1fr);
}

.card-media-gallery[data-media-count="5"],
.card-media-gallery[data-media-count="6"] {
  grid-template-columns: repeat(3, 1fr);
}

.card-media-gallery[data-media-count="7"],
.card-media-gallery[data-media-count="8"],
.card-media-gallery[data-media-count="9"],
.card-media-gallery[data-media-count="10"] {
  grid-template-columns: repeat(4, 1fr);
}

.card-media-gallery:not([data-media-count="1"]):not([data-media-count="2"]):not([data-media-count="3"]):not([data-media-count="4"]):not([data-media-count="5"]):not([data-media-count="6"]):not([data-media-count="7"]):not([data-media-count="8"]):not([data-media-count="9"]):not([data-media-count="10"]) {
  grid-template-columns: repeat(4, 1fr);
}

.card-media-gallery .media-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.card-media-gallery .media-thumbnail img,
.card-media-gallery .media-thumbnail video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-media-gallery .media-thumbnail:hover img,
.card-media-gallery .media-thumbnail:hover video {
  transform: scale(1.05);
}

.card-media-gallery .video-thumbnail video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-thumbnail:hover .media-overlay {
  opacity: 1;
}

.media-overlay .icon {
  font-size: 32px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.video-thumbnail .media-overlay {
  opacity: 0.3;
}

.video-thumbnail:hover .media-overlay {
  opacity: 1;
}

.card-media-gallery .all-guardians-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(47, 82, 51, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Force thumbnail sizing */
.updates-feed .update-card .card-media-gallery .media-thumbnail {
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 100% !important;
  overflow: hidden !important;
  cursor: pointer !important;
  background: #000 !important;
}

.updates-feed .update-card .card-media-gallery .media-thumbnail img,
.updates-feed .update-card .card-media-gallery .media-thumbnail video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ==========================================
   LIGHTBOX OVERLAY
   ========================================== */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 41, 164, 0.50)
  z-index: 999999 !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-overlay.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-info {
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 24px;
  border-radius: 8px;
  margin-top: 16px;
  max-width: 600px;
  text-align: center;
}

.lightbox-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #4A1C1C;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.lightbox-caption {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #4A1C1C;
  font-weight: 300;
}

.lightbox-close:hover {
  background: white;
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #4A1C1C;
}

.lightbox-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ==========================================
   UPDATE MODAL STYLES
   ========================================== */
.update-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.update-modal-overlay.active {
  display: flex !important;
}

.update-modal-container {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.update-modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #4A1C1C;
  font-weight: 300;
  z-index: 999999;
}

.update-modal-close:hover {
  background: white;
  transform: rotate(90deg);
}

.update-modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #4A1C1C;
  z-index: 999999;
}

.update-modal-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.update-modal-prev {
  left: 20px;
}

.update-modal-next {
  right: 20px;
}

.update-modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.update-modal-content {
  padding: 40px;
}

.update-modal-header {
  margin-bottom: 32px;
}

.update-modal-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.update-modal-seahorses {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.update-modal-seahorses .seahorse-tag {
  background: #2F5233;
  color: white;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.update-modal-badge {
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.update-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #4A1C1C;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.update-modal-date {
  font-size: 16px;
  color: #666;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.update-modal-community-note {
  background: #E3F2FD;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #1976D2;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.update-modal-gallery {
  margin-bottom: 32px;
}

.update-modal-gallery .card-media-gallery {
  border-radius: 8px;
  overflow: hidden;
}

.update-modal-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.update-modal-text p {
  margin: 0 0 16px 0;
}

.update-modal-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   COMMUNITY DISCUSSION LINK
   ========================================== */
.update-modal-community-link {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #f0f0f0;
  text-align: center;
}

.update-modal-community-link a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #2F5233 0%, #1a3a1f 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(47, 82, 51, 0.2);
}

.update-modal-community-link a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 82, 51, 0.3);
  background: linear-gradient(135deg, #1a3a1f 0%, #0f2412 100%);
}

.update-modal-community-link a:active {
  transform: translateY(0);
}

.community-icon {
  font-size: 24px;
}

.community-text {
  flex: 1;
  text-align: center;
  line-height: 1.4;
}

.community-arrow {
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.update-modal-community-link a:hover .community-arrow {
  transform: translateX(4px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .update-modal-community-link {
    margin-top: 24px;
    padding-top: 24px;
  }
  
  .update-modal-community-link a {
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px;
    font-size: 15px;
  }
  
  .community-icon {
    font-size: 28px;
  }
  
  .community-arrow {
    display: none;
  }
}

<!-- ========================================
     UPDATED CSS FOR PROFILE CARDS
     ======================================== -->

<style>
/* ==========================================
   SECTION LAYOUT
   ========================================== */
.your-seahorses-section {
  margin: 60px 0;
}

.your-seahorses-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #4A1C1C;
  margin-bottom: 32px;
  text-align: center;
}

/* ==========================================
   GRID LAYOUT - FIXED FOR MOBILE
   ========================================== */
.seahorse-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px; /* ADDED: Padding for mobile */
}

/* Single seahorse: horizontal layout on desktop */
.seahorse-cards-grid:has(.your-seahorse-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.seahorse-cards-grid:has(.your-seahorse-card:only-child) .seahorse-profile {
  display: flex;
  align-items: center;
  gap: 32px;
}

.seahorse-cards-grid:has(.your-seahorse-card:only-child) .profile-photo {
  flex: 0 0 350px;
  width: 350px;
  padding-bottom: 0;
  height: 350px;
}

/* ==========================================
   CARD STYLING
   ========================================== */
.your-seahorse-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.your-seahorse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.your-seahorse-card.inactive-status {
  opacity: 0.7;
  position: relative;
}

.your-seahorse-card.inactive-status::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* ==========================================
   PROFILE LAYOUT
   ========================================== */
.seahorse-profile {
  display: flex;
  flex-direction: column;
}

.profile-photo {
  width: 100%;
  padding-bottom: 100%; /* Square aspect ratio */
  position: relative;
  overflow: hidden;
  background: #000;
}

.profile-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  padding: 24px;
}

/* ==========================================
   TEXT ELEMENTS - UPDATED TO MATCH MODAL
   ========================================== */

/* Name - Large serif */
.profile-name {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #4A1C1C;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

/* Title/Tagline - Gold italic */
.profile-title {
  font-size: 16px;
  font-style: italic;
  color: #B8860B;
  margin: 0 0 8px 0;
  font-weight: 600;
}

/* Nicknames */
.profile-nicknames {
  font-size: 14px;
  font-style: italic;
  color: #B8860B;
  margin: 0 0 8px 0;
}

.nickname-icon {
  font-style: normal;
  margin-right: 4px;
}

/* Meta Row - Species & Status */
.profile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.profile-species {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.profile-species em {
  font-style: italic;
  color: #999;
}

/* Status Badge */
.profile-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-status.status-alive,
.profile-status.status-healthy {
  background: #D4EDDA;
  color: #155724;
}

.profile-status.status-deceased {
  background: #F8D7DA;
  color: #721C24;
}

/* Stats Bar */
.profile-stats-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}

.stat-icon {
  font-size: 16px;
}

.stat-label {
  font-weight: 500;
}

/* Description */
.profile-description {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 12px 0;
}

/* Latest Update - NOT CLICKABLE */
.profile-latest-update {
  font-size: 14px;
  color: #B8860B;
  margin: 0;
}

.profile-latest-update strong {
  font-weight: 600;
}

/* ==========================================
   MOBILE RESPONSIVE - FIXED WIDTH
   ========================================== */
@media (max-width: 768px) {
  .seahorse-cards-grid {
    grid-template-columns: 1fr; /* FIXED: Single column on mobile */
    max-width: 600px; /* ADDED: Match update cards max-width */
    padding: 0 16px; /* ADDED: Side padding */
  }
  
  .seahorse-cards-grid:has(.your-seahorse-card:only-child) .seahorse-profile {
    flex-direction: column;
  }
  
  .seahorse-cards-grid:has(.your-seahorse-card:only-child) .profile-photo {
    flex: 1 1 auto;
    width: 100%;
  }
  
  .your-seahorses-section h2 {
    font-size: 28px;
  }
  
  .profile-name {
    font-size: 24px;
  }
  
  .profile-stats-bar {
    gap: 8px;
  }
  
  .stat-item {
    font-size: 12px;
  }
}

/* ==========================================
   SEAHORSE PROFILE MODAL (Popup)
   Fixed square image + 45/55 split
   ========================================== */

.modal-overlay#seahorseModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999997;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay#seahorseModal.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#seahorseModal .modal-container {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#seahorseModal .modal-content {
  display: flex;
  flex-direction: column;
}

/* MOBILE FIRST: Stack vertically */
#seahorseModal .modal-header-section {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid #f0f0f0;
}

#seahorseModal .modal-image-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 1 / 1; /* Forces square on mobile */
}

#seahorseModal .modal-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

#seahorseModal .modal-basic-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* DESKTOP: Side-by-side with square image */
@media (min-width: 769px) {
  #seahorseModal .modal-header-section {
    flex-direction: row;
    align-items: stretch; /* Important! */
  }
  
  #seahorseModal .modal-image-container {
    flex: 0 0 45%;
    max-width: 45%;
    width: 45%; /* Explicit width */
    aspect-ratio: 1 / 1; /* Square aspect ratio */
    height: auto; /* Let aspect-ratio control height */
  }
  
  #seahorseModal .modal-basic-info {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 20px 30px 10px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
  }
}

/* Fallback for older browsers without aspect-ratio support */
@supports not (aspect-ratio: 1 / 1) {
  #seahorseModal .modal-image-container {
    padding-bottom: 100%;
    height: 0;
  }
  
  @media (min-width: 769px) {
    #seahorseModal .modal-image-container {
      padding-bottom: 45%; /* Makes it square relative to parent */
      height: 0;
    }
  }
}

#seahorseModal .modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #4A1C1C;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

#seahorseModal .modal-title {
  font-size: 18px;
  font-style: italic;
  color: #B8860B;
  margin: 0 0 8px 0;
  font-weight: 600;
}

#seahorseModal .nicknames-section {
  margin-bottom: 0;
}

#seahorseModal .nicknames {
  font-style: italic;
  color: #B8860B;
  font-size: 16px;
  margin: 0;
}

#seahorseModal .modal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
}

#seahorseModal .modal-species {
  font-size: 16px;
  color: #666;
  margin: 0;
}

#seahorseModal .modal-species em {
  font-style: italic;
  color: #999;
}

#seahorseModal .modal-status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

#seahorseModal .modal-status.status-alive,
#seahorseModal .modal-status.status-healthy {
  background: #D4EDDA;
  color: #155724;
}

#seahorseModal .modal-status.status-deceased {
  background: #F8D7DA;
  color: #721C24;
}

#seahorseModal .modal-stats-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin: 16px 0;
}

#seahorseModal .stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

#seahorseModal .stat-item strong {
  color: #4A1C1C;
}

#seahorseModal .modal-update {
  font-size: 15px;
  color: #B8860B;
  font-weight: 600;
  margin: 0;
}

#seahorseModal .modal-info {
  padding: 24px 40px 40px 40px;
}

#seahorseModal .modal-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

#seahorseModal .modal-section:first-child {
  margin-top: 0;
}

#seahorseModal .modal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

#seahorseModal .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #4A1C1C;
  margin: 0 0 16px 0;
  font-weight: 700;
}

#seahorseModal .section-content {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

#seahorseModal .fun-fact-content {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFE8CC 100%);
  border-left: 4px solid #B8860B;
  padding: 16px 20px;
  border-radius: 8px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: #4A1C1C;
  margin: 0;
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.1);
}

#seahorseModal .fun-fact-content strong {
  font-style: normal;
  display: block;
  margin-bottom: 8px;
  color: #B8860B;
}

#seahorseModal .rich-text p {
  margin: 0 0 12px 0;
}

#seahorseModal .rich-text p:last-child {
  margin-bottom: 0;
}

#seahorseModal .trait-item {
  background: #f8f8f8;
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.6;
}

#seahorseModal .trait-item:last-child {
  margin-bottom: 0;
}

#seahorseModal .trait-item strong {
  display: block;
  color: #4A1C1C;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#seahorseModal .trait-item p {
  margin: 0 0 8px 0;
}

#seahorseModal .trait-item p:last-child {
  margin-bottom: 0;
}

#seahorseModal .family-item {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.6;
}

#seahorseModal .family-item:last-child {
  margin-bottom: 0;
}

#seahorseModal .family-item strong {
  color: #4A1C1C;
  font-weight: 600;
}

#seahorseModal .family-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

#seahorseModal .seahorse-link {
  color: #B8860B;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

#seahorseModal .seahorse-link:hover {
  color: #9A7209;
  text-decoration: underline;
}

#seahorseModal .offspring-list .offspring-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

#seahorseModal .offspring-list .seahorse-link {
  background: #f0f0f0;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 14px;
  display: inline-block;
}

#seahorseModal .offspring-list .seahorse-link:hover {
  background: #e0e0e0;
}

#seahorseModal .offspring-toggle {
  color: #B8860B;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
  margin-left: 8px;
}

#seahorseModal .offspring-toggle:hover {
  color: #9A7209;
}

#seahorseModal .breeding-item {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
}

#seahorseModal .breeding-item strong {
  color: #4A1C1C;
  font-weight: 600;
}

#seahorseModal .breeding-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: #E3F2FD;
  color: #1976D2;
  margin-left: 8px;
}

#seahorseModal .modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

#seahorseModal .modal-gallery-item {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: #000;
}

#seahorseModal .modal-gallery-item img,
#seahorseModal .modal-gallery-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#seahorseModal .modal-gallery-item:hover img,
#seahorseModal .modal-gallery-item:hover video {
  transform: scale(1.05);
}

#seahorseModal .modal-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#seahorseModal .modal-gallery-item:hover .modal-gallery-overlay {
  opacity: 1;
}

#seahorseModal .modal-gallery-overlay .icon {
  font-size: 32px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

#seahorseModal .video-thumbnail .modal-gallery-overlay {
  opacity: 0.3;
}

#seahorseModal .video-thumbnail:hover .modal-gallery-overlay {
  opacity: 1;
}

#seahorseModal .modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #4A1C1C;
  font-weight: 300;
  z-index: 999999;
}

#seahorseModal .modal-close:hover {
  background: white;
  transform: rotate(90deg);
}

#seahorseModal .modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #4A1C1C;
  z-index: 999999;
}

#seahorseModal .modal-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

#seahorseModal .modal-prev {
  left: 20px;
}

#seahorseModal .modal-next {
  right: 20px;
}

#seahorseModal .modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  #seahorseModal .modal-name {
    font-size: 28px;
  }
  
  #seahorseModal .modal-title {
    font-size: 16px;
  }
  
  #seahorseModal .modal-stats-bar {
    flex-direction: column;
    gap: 8px;
  }
  
  #seahorseModal .family-links {
    grid-template-columns: 1fr;
  }
  
  #seahorseModal .modal-gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  #seahorseModal .section-title {
    font-size: 18px;
  }
  
  #seahorseModal .modal-info {
    padding: 16px 24px 24px 24px;
  }
  
  #seahorseModal .modal-close,
  #seahorseModal .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  #seahorseModal .modal-prev {
    left: 10px;
  }
  
  #seahorseModal .modal-next {
    right: 10px;
  }
  
  #seahorseModal .modal-close {
    top: 10px;
    right: 10px;
  }
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .updates-feed {
    grid-template-columns: 1fr;
  }
  
  .card-media-gallery[data-media-count="3"],
  .card-media-gallery[data-media-count="4"],
  .card-media-gallery[data-media-count="5"],
  .card-media-gallery[data-media-count="6"] {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .card-media-gallery[data-media-count="7"],
  .card-media-gallery[data-media-count="8"],
  .card-media-gallery[data-media-count="9"],
  .card-media-gallery[data-media-count="10"] {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .filter-controls-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .sort-control,
  .date-filter-control {
    width: 100%;
  }
  
  .custom-date-inputs {
    flex-direction: column;
  }
  
  .date-input-group {
    width: 100%;
  }
  
  .seahorse-filter-tabs,
  .update-type-filter-tabs {
    gap: 8px;
  }
  
  .seahorse-tab {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .type-tab {
    padding: 6px 16px;
    font-size: 13px;
  }
  
  .lightbox-nav,
  .lightbox-close,
  .update-modal-close,
  .update-modal-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .lightbox-prev,
  .update-modal-prev {
    left: 10px;
  }
  
  .lightbox-next,
  .update-modal-next {
    right: 10px;
  }
  
  .lightbox-close,
  .update-modal-close {
    top: 10px;
    right: 10px;
  }
  
  .update-modal-content {
    padding: 24px;
  }
  
  .update-modal-title {
    font-size: 24px;
  }
  
  .seahorse-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .seahorse-cards-grid:has(.your-seahorse-card:only-child) .seahorse-profile {
    flex-direction: column;
  }
  
  .seahorse-cards-grid:has(.your-seahorse-card:only-child) .profile-photo {
    flex: 1 1 auto;
    width: 100%;
  }
  
  .your-seahorses-section h2 {
    font-size: 28px;
  }
  
  #seahorseModal .modal-name {
    font-size: 28px;
  }
  
  #seahorseModal .modal-title {
    font-size: 16px;
  }
  
  #seahorseModal .modal-stats-bar {
    flex-direction: column;
    gap: 8px;
  }
  
  #seahorseModal .family-links {
    grid-template-columns: 1fr;
  }
  
  #seahorseModal .modal-gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  #seahorseModal .section-title {
    font-size: 18px;
  }
  
  #seahorseModal .modal-info {
    padding: 16px 24px 24px 24px;
  }
  
  #seahorseModal .modal-close,
  #seahorseModal .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  #seahorseModal .modal-prev {
    left: 10px;
  }
  
  #seahorseModal .modal-next {
    right: 10px;
  }
  
  #seahorseModal .modal-close {
    top: 10px;
    right: 10px;
  }

    /* Compact date filtering on mobile */
  .filter-controls-container {
    padding: 12px;
    gap: 12px;
  }
  
  .sort-control label,
  .date-filter-control > label {
    font-size: 12px;
  }
  
  .sort-select,
  .date-preset {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 140px;
  }
  
  .custom-date-inputs {
    padding: 12px;
    gap: 8px;
  }
  
  .date-input-group label {
    font-size: 11px;
  }
  
  .date-input {
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .btn-apply-dates,
  .btn-clear-dates {
    padding: 6px 12px;
    font-size: 13px;
  }0
}

/* Profile Image Container - Clickable */
#seahorseModal .modal-image-container {
  cursor: pointer;
  position: relative;
}

/* Video Thumbnail in Bottom Corner */
#seahorseModal .profile-video-thumbnail {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 22%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

#seahorseModal .profile-video-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

#seahorseModal .profile-video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play Button Overlay on Video Thumbnail */
#seahorseModal .video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

#seahorseModal .profile-video-thumbnail:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.6);
}

#seahorseModal .video-play-overlay .play-icon {
  font-size: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}

#seahorseModal .profile-video-thumbnail:hover .play-icon {
  transform: scale(1.15);
}

/* Main Image Hover Overlay with Magnifying Glass */
#seahorseModal .profile-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  pointer-events: none; /* Don't block video thumbnail clicks */
}

#seahorseModal .modal-image-container:hover .profile-image-overlay {
  opacity: 1;
}

/* Hide overlay when hovering over video thumbnail */
#seahorseModal .profile-video-thumbnail:hover ~ .profile-image-overlay {
  opacity: 0;
}

#seahorseModal .profile-image-overlay .overlay-icon {
  font-size: 48px;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

#seahorseModal .profile-image-overlay .overlay-text {
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Mobile Responsive - Make video thumbnail larger on small screens */
@media (max-width: 768px) {
  #seahorseModal .profile-video-thumbnail {
    width: 22%;
    bottom: 8px;
    right: 8px;
  }

  #seahorseModal .video-play-overlay .play-icon {
    font-size: 24px;
  }
  
  #seahorseModal .profile-image-overlay .overlay-icon {
    font-size: 36px;
  }
  
  #seahorseModal .profile-image-overlay .overlay-text {
    font-size: 14px;
  }
}

#seahorseModal .modal-description-short {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 5px 0;
}

/* Seahorse Modal - Base Layer */
.modal-overlay#seahorseModal {
  z-index: 999997;
}

/* Update Modal - Middle Layer (above seahorse modal) */
.update-modal-overlay {
  z-index: 999998;
}

/* Lightbox - Top Layer (above everything) */
.lightbox-overlay {
  z-index: 999999 !important;
}

/* ==========================================
   STATUS NOTICES
   ========================================== */

.status-notice {
  padding: 16px 24px;
  margin-bottom: 24px;
  border-radius: 8px;
  text-align: center;
}

.status-notice.paused {
  background: #FFF3CD;
  border: 2px solid #FFC107;
  color: #856404;
}

.status-notice.cancelled {
  background: #F8D7DA;
  border: 2px solid #F5C2C7;
  color: #842029;
}

.status-notice a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================
   SHOPIFY FORM FOR GUARDIAN SETTINGS
   ========================================== */


/* Hide the Shopify Form from public view */
#guardian-settings-form-wrapper {
  display: none;
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Only show when triggered */
#guardian-settings-form-wrapper.active {
  display: block;
  position: static;
  left: auto;
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   SETTINGS TRIGGER BUTTON STYLES
   ============================================ */

.notification-settings-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 2px solid #B8860B;
  border-radius: 6px;
  color: #4A1C1C;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.notification-settings-trigger:hover {
  background: #B8860B;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(184, 134, 11, 0.3);
}

.notification-settings-trigger:active {
  transform: translateY(0);
}

.settings-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.notification-settings-trigger:hover .settings-icon {
  transform: rotate(45deg);
}

/* Icon-only version for compact spaces */
.notification-settings-trigger.icon-only {
  padding: 10px;
  border-radius: 50%;
}

.notification-settings-trigger.icon-only .settings-text {
  display: none;
}

/* Floating button version (if you want it fixed position) */
.notification-settings-trigger.floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .notification-settings-trigger {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .settings-icon {
    width: 18px;
    height: 18px;
  }
  
  .notification-settings-trigger.floating {
    bottom: 16px;
    right: 16px;
  }
}

/* ============================================
   MODAL OVERLAY & CONTAINER
   ============================================ */
.guardian-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
  overflow-y: auto;
}

.guardian-modal-overlay.active {
  display: flex;
}

.guardian-modal-container {
  background: white;
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HEADER
   ============================================ */
.guardian-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #4A1C1C;
  margin: 0;
}

.modal-icon {
  color: #B8860B;
}

.guardian-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.guardian-modal-close:hover {
  background: #e0e0e0;
  color: #4A1C1C;
}

/* ============================================
   CONTENT
   ============================================ */
.guardian-modal-content {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.settings-saved-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

/* ============================================
   SECTIONS
   ============================================ */
.settings-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e9ecef;
}

.settings-section:last-of-type {
  border-bottom: none;
}

.settings-section-sms-notifications,
.settings-section-comment-notifications,
.settings-section-comment-display-name {
  display: none;
}
.pause-section {
  background: #fff9e6;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #ffd700;
}

.guardian-modal-overlay .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.guardian-modal-overlay .section-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 4px 0;
}

//*
.guardian-modal-overlay .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
.guardian-modal-overlay .section-header h3 {
    font-size: 16px;
  }
*//

.section-description {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

/* ============================================
   TOGGLE SWITCH
   ============================================ */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 28px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #B8860B;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-select,
.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  transition: border-color 0.3s;
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: #B8860B;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-select:disabled,
.form-input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}

.help-text {
  font-size: 13px;
  color: #6c757d;
  margin: 6px 0 0 0;
}

/* ============================================
   CHECKBOXES
   ============================================ */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #2c3e50;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ============================================
   PAUSE OPTIONS
   ============================================ */
.pause-options {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ffd700;
}

/* ============================================
   PREVIEW BOX
   ============================================ */
.preview-box {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.preview-label {
  font-size: 13px;
  color: #6c757d;
  margin: 0 0 8px 0;
  font-weight: 500;
}

.preview-content {
  font-size: 14px;
  color: #2c3e50;
  margin: 0;
}

.preview-content strong {
  color: #B8860B;
  font-weight: 600;
}

/* ============================================
   INFO BOX
   ============================================ */
.info-box {
  background: #e7f3ff;
  border: 1px solid #b3d9ff;
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
}

.info-box p {
  margin: 0;
  font-size: 14px;
  color: #004085;
}

.info-box a {
  color: #0056b3;
  text-decoration: underline;
  font-weight: 500;
}

.info-box a:hover {
  color: #003d82;
}

/* ============================================
   FOOTER
   ============================================ */
.guardian-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 2px solid #f0f0f0;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

.btn-cancel,
.btn-save {
  flex: 1;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-cancel {
  background: white;
  color: #6c757d;
  border: 2px solid #dee2e6;
}

.btn-cancel:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
}

.btn-save {
  background: #B8860B;
  color: white;
}

.btn-save:hover {
  background: #9a7109;
}

.btn-save:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .guardian-modal-container {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .guardian-modal-content {
    padding: 16px;
  }
  
}