#audio-player {
  display: none;
}

#player-control {
  button {
    font-size: 50px;
  }
}

.align-items {
  margin: 10px;
  text-align: center;
}

#new-audio {
  display: none;
  margin: 0 0 0 10px;
}

#animation {
  color: #a1e7e7;
  text-align: center;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    max-width: 55px;
  }
}

.hidden {
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
}

.display-none {
  display: none !important;
}

#status {
  text-align: center;
  margin: 50px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#status button {
  margin: 10px;
}

#status img {
  margin: 10px;
}

.arrow {
  /*opacity: 0.1;*/
  max-height: 50px;
  /*-webkit-filter: brightness(0.6)contrast(3.4)hue-rotate(217deg)saturate(9.9);
  filter: brightness(0.6)contrast(3.4)hue-rotate(217deg)saturate(9.9);*/
}

html {
  font-size: 20px;
}

#dates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

.date-container {
  display: flex;
  width: 100%;
  place-content: center;
  flex-flow: wrap;
  text-align: justify;
}

.date-name-container {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 5px;
  margin: 10px;
  place-self: flex-start;
  display: flex;
  align-items: center;
  /*gap: 0.75rem;*/
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  cursor: pointer;
  position: relative;

  img {
    width: 50%;
    max-width: 200px;
  }
}

.date-details img, .date-details .date-name-subtext:not(:empty) {
  display: none;
}

.date-name-container:hover {
  background-color: #f5f5f5;
}

.date-url-container {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 5px;
  margin: 10px;
  overflow-wrap: anywhere;
  justify-self: anchor-center;
  /*place-self: flex-start;*/
  display: flex;
  align-items: center;
  /*gap: 0.75rem;*/
  padding: 0.6rem 1.3rem 0.6rem 0.8rem;
  cursor: pointer;
  position: relative;
}

.date-url-container:hover {
  cursor:pointer;
}

.selected {
  background-color: lightgrey;
}

#debug-status {
  text-align: center;
  opacity: 0.2;
}

.no-scroll {
 height: 100%;
 overflow-y: hidden;
}

#audio-paused {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 98%;
  height: 100%;
  display: flex;
  background-color: white;
  z-index: 10;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  img {
    /*margin: auto;*/
    width: 100%;
    max-width: 200px;
  }

  button {
    margin-top: 50px;
  }

  p {
    text-align: center;
    opacity: 0.3;
    margin: 10px;
  }
}

body {
  margin: 1%;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/*.date-details::after{
  background-image: url('remove-button.png');
  background-size: 15px 15px;
  display: inline-block;
  width: 15px; 
  height: 15px;
  content:"";
  position: relative;
  top: -24px;
  left: -164px;
}*/

/*.date-details {
  background-image: url('remove-button.png');
  background-size: 10px 10px;
  background-repeat: no-repeat;
}*/

.date-details {
  opacity: 0.6;
}

.date-container .close-icon {
  display: none;
}

.date-name-container.date-details .close-icon {
  display: block;
  position: absolute;
  top: -7px;
  left: -7px;
  width: 15px;
  height: 15px;
}

.date-name-container .info-icon {
  display: none;
}

.selected-url .info-icon {
  display: block;
  position: absolute;
  top: 17px;
  left: 5px;
  width: 15px;
  height: 15px;
}

.date-details .info-icon {
  display: none;
}

.date-url-container.selected-url .status-image {
  display: block;
  position: absolute;
  top: 17px;
  right: 5px;
  width: 15px;
  height: 15px;
  background-size: 15px 15px;
}

./*date-name-container .status-image {
  display: block;
  position: absolute;
  top: 17px;
  right: 5px;
  width: 15px;
  height: 15px;
  background-size: 15px 15px;
}*/

.selected-date {
  /*background-color: #d0f3f3;*/
  /*display: none;*/
}

/*.selected-date::after{
  background-image: url('pause-button.png');
  background-size: 15px 15px;
  display: inline-block;
  width: 15px; 
  height: 15px;
  content:"";
  position: relative;
  top: 1px;
  left: 7px;
}*/

.selected-url {
  background-color: #e0f7f7;
}

#back-button {
  background-image: url('back-button.png');
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position-y: center;
  background-position-x: center;
  background-position-x: right;
  width: 40px;
  height: 40px;
  align-self: center;
}

/*.date-url-container::after {
  background-image: url('play-button.png');
  background-size: 15px 15px;
  display: inline-block;
  width: 15px; 
  height: 15px;
  content:"";
  position: relative;
  top: 1px;
  left: 7px;
}*/

/*.selected-url::after {

  background-size: 15px 15px;
  display: inline-block;
  width: 15px; 
  height: 15px;
  content:"";
  position: relative;
  top: 0px;
  left: 0px;
}*/

/*.selected-url-playing::after {
  background-image: url('pause-button.png');
}

.selected-url-paused::after {
  background-image: url('play-button.png');
}*/

/*.selected-url .status-image {
  background-size: 15px 15px;
  display: inline-block;
  vertical-align: top;
  width: 15px; 
  height: 15px;
  vertical-align: middle;
  margin: 0 0 0 10px;
}*/

.selected-url-playing .status-image {
  background-image: url('pause-button.png');
}

.selected-url-paused .status-image {
  background-image: url('play-button.png');
}

#track-name {
  margin-top: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#display-details {
  width: 14px;
}

.range-slider .range-slider__thumb {
  width: 0;
}

.range-slider .range-slider__range {
  border-radius: 6px;
  background-color: #33cccc;
}

#track-position {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 5px auto;
  opacity: 0.5;
  font-size: 15px;
}

#track-progress {
  width: 90%;
  margin: auto;
}

.range-slider {
  background-color: #d0f3f3;
  height: 20px;
}

#menu-bar {
  display: flex;
  justify-content: space-between;
  margin: 0 10px;
}

#menu-bar img {
  width: 30px;
}

#language-menu {
  margin-right: 20px;
  margin: auto 0;
}

.date-details-container {
  padding: 1rem;
  margin: 1rem 0;
  max-width: 960px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

/* Generic card wrapper for each section */
.details-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  text-align: justify;
}

/* Last one a bit more breathing room removed if you like tight stack */
.details-card:last-child {
  margin-bottom: 0;
}

/* Title card */
.details-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

/* Description card */
.details-description {
  font-size: 0.98rem;
  color: #333;
  margin: 0;
}

/* Location card */
.details-location {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.details-location a {
  color: #0066cc;
  text-decoration: none;
}

.details-location a:hover {
  text-decoration: underline;
}

/* Lists: tips, highlights, reviews */
.details-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.details-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
}

.details-card li {
  margin-bottom: 0.35rem;
}

.details-reviews li {
  font-style: italic;
  color: #555;
}

.details-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.details-image {
  display: block;
  width: calc(33.333% - 0.5rem);
  max-width: 180px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .date-details-container {
    padding: 0.75rem;
  }

  .details-card {
    padding: 0.85rem 1rem;
  }

  .details-image {
    width: calc(50% - 0.5rem);
    max-width: none;
  }
}

.date-name-image {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.date-name-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 10px;
}

.date-name-text {
  font-size: 0.95rem;
  /*font-weight: 600;*/
  line-height: 1.3;
  color: #222;
  /*margin-bottom: 0.25rem;*/
  flex: 0 0 auto;
}

.date-name-subtext:not(:empty) {
  font-size: 0.88rem;
  line-height: 1.35;
  color: #555;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.availableOffline {
  font-weight: bold;
}

.date-urls-container {
  width: 100%;
  display: table-row;
}










/* Optional responsive tweak */
@media (max-width: 480px) {
  .date-name-image {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .date-name-text {
    font-size: 0.9rem;
  }

  .date-name-subtext {
    font-size: 0.84rem;
    -webkit-line-clamp: 2;
  }

  .date-name-container {
    flex-flow: column;
  }

  .details-image {
    width: 100%;
  }
}

/*Keep at the bottom so they remain priorities*/

.played-marker {
  background-color: #f7f7e0;
}