.run-stats-pro-container {
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 80vh;
  padding: 20px;
  box-sizing: border-box;
}

.run-stats-pro-header {
  text-align: center;
  margin-bottom: 20px;
}

.run-stats-pro-title {
  border-radius: 10px;
  padding: 1rem;
  display: inline-block;
}

.run-stats-pro-description {
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem auto;
  line-height: 1.5;
}

.run-stats-pro-gallery {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.run-stats-pro-image {
  width: 80vw; /* Make it relative to screen size */
  max-width: 330px; /* Prevent it from getting too large on desktop */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0; /* Ensure image doesn't shrink in flex layout */
  scroll-snap-align: start; /* Enables snapping */
}

.run-stats-pro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.store-badge {
  height: 80px;
  object-fit: contain;
}

.gallery-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.privacy-container {
    width: 100%;
    padding: 1rem;
  }
  
  .privacy-main-text {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  .privacy-sub-text {
    margin-left: 20px;
  }
  
  .privacy-contact-link {
    padding: 0 4px;
    border-radius: 4px;
    text-decoration: none;
  }
  /* CustomSelectBox.css */
:root {
  --text-color: #000;
  --modal-bg: rgba(0, 0, 0, 0.5);
  --modal-inner-bg: #fff;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --background-color: #f0f0f0;
  --border-color: #ccc;
  --box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
}

.custom-select-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
}

.custom-select-entry {
  color: var(--text-color);
  text-shadow: 3px 3px var(--shadow-color);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background-color: var(--modal-bg);
}

.modal-content {
  width: 90%;
  max-width: 320px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 12px;
  background-color: var(--modal-inner-bg) !important;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.modal-option {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--text-color);
}

.modal-option:hover {
  background-color: var(--shadow-color);
}
.screen-title-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .screen-title-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .screen-title-label {
    color: var(--text-color);
    font-size: var(--font-size);
    text-shadow: 3px 3px var(--shadow-color);
    font-weight: bold;
  }
  
  .screen-title-heading {
    font-size: var(--logo-size);
    color: var(--highlight-color);
    text-shadow: 4px 4px var(--shadow-color);
    font-weight: bold;
    text-align: center;
    margin: 0;
  }
  .layout-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .layout-title-wrapper {
    padding: 1rem 1rem 0;
  }
  
  .layout-main {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
  }
  
  .layout-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    position: sticky;
    bottom: 0;
    z-index: 100;
  }
  
  .layout-nav-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
  }
  
  .layout-icon {
    width: 20px;
    height: 20px;
  }
  
  .layout-label {
    margin-left: 8px;
  }
  *,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}