/* static/static_for_dynamic_content/members/membership_options.css */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary: #007bff;
  --primary-hover: #0056b3;
  --bg: #f5f5f5;
  --card-bg: #fff;
  --card-border: #ddd;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --text: #333;
  --accent: #d93025;
  --radius: 8px;
  --font: 'Segoe UI', Tahoma, sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

.carousel-container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 0 10px;
  text-align: center;
  overflow: hidden;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 100%;
  max-width: 100%;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
  padding: 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}

.card-section {
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.card-section strong {
  font-weight: bold;
}

.card-section span {
  color: var(--accent);
  margin-left: 6px;
}

.tier {
  background: #f0f8ff;
  padding: 12px;
  border-radius: 4px;
  font-weight: bold;
}

.carousel-controls {
  margin-top: 20px;
}

.carousel-controls button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 20px;
  margin: 0 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-controls button:hover {
  background: var(--primary-hover);
}

@media (max-width: 600px) {
  .card {
	padding: 16px;
  }
  .card-section {
	font-size: 14px;
  }
  .carousel-controls button {
	font-size: 16px;
	padding: 10px 16px;
  }
}

@media (max-width: 400px) {
  .carousel-controls button {
	font-size: 14px;
	padding: 8px 14px;
  }
}




.accessibility-footer {
  text-align: center;
  font-size: 0.9em;
  color: #6c757d;
  padding: 20px 10px;
  margin-top: 40px;
  border-top: 1px solid #dee2e6;
  background-color: #f8f9fa;
}






/* Tooltip info icon and panel */
.info-container {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-left: 5px;
}

.info-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: blue;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  user-select: none;
}

.info-toggle:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2); /* subtle blue glow */
}











/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal content box */
.modal-content {
  background: #fff;
  color: #000;
  padding: 24px;
  max-width: 600px;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
  font-size: 1rem;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.modal-content p {
  margin-bottom: 1em;
}

.close-modal-btn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.close-modal-btn:hover {
  background-color: var(--primary-hover);
}



[hidden] {
  display: none !important;
}




header {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  width: 100%;
  padding: 20px 0; /* Adds vertical spacing */
}

.logo-image {
  display: block; /* Ensures the image respects its container */
}





.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}




.carousel-controls button:focus,
.close-modal-btn:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}
