/* Storm Reply Cookie Consent Banner */
#sr-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 65, 73, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 16px;
  animation: sr-fade-in 0.3s ease;
}
#sr-consent-overlay.sr-fade-out {
  animation: sr-fade-out 0.3s ease forwards;
}
@keyframes sr-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sr-fade-out { from { opacity: 1; } to { opacity: 0; } }

#sr-consent-banner {
  background: #fff;
  border-radius: 12px 12px 0 0;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.15);
  font-family: 'Proxima Nova', Arial, Helvetica, sans-serif;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.sr-consent-header {
  background: linear-gradient(135deg, #004149, #00A486);
  padding: 20px 28px;
  border-radius: 12px 12px 0 0;
}
.sr-consent-header h2 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.sr-consent-body {
  padding: 24px 28px 28px;
}
.sr-consent-body > p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #555;
}

/* Buttons */
.sr-consent-actions-top {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.sr-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
  text-align: center;
}
.sr-btn-primary {
  background: #00A486;
  color: #fff;
  flex: 1;
}
.sr-btn-primary:hover {
  background: #00C49B;
}
.sr-btn-outline {
  background: transparent;
  border: 2px solid #004149;
  color: #004149;
  flex: 1;
}
.sr-btn-outline:hover {
  background: #004149;
  color: #fff;
}
.sr-btn-link {
  background: none;
  border: none;
  color: #00A486;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sr-btn-link:hover {
  color: #004149;
}

/* Category details */
.sr-consent-details {
  margin-top: 20px;
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
}
.sr-consent-category {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.sr-consent-category:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
}
.sr-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sr-cat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
}
.sr-cat-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #00A486;
  cursor: pointer;
}
.sr-cat-desc {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #777;
  padding-left: 28px;
}
.sr-always-on {
  font-size: 0.75rem;
  font-weight: 600;
  color: #00A486;
  background: rgba(0, 164, 134, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Privacy link */
.sr-consent-privacy {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #999;
}
.sr-consent-privacy a {
  color: #00A486;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sr-consent-privacy a:hover {
  color: #004149;
}

/* Responsive */
@media (max-width: 600px) {
  #sr-consent-overlay {
    padding: 0;
    align-items: flex-end;
  }
  #sr-consent-banner {
    border-radius: 12px 12px 0 0;
    max-height: 90vh;
  }
  .sr-consent-body {
    padding: 20px;
  }
  .sr-consent-actions-top {
    flex-direction: column;
  }
  .sr-btn {
    width: 100%;
  }
}
