body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: whitesmoke;

    margin: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}


a {
    text-decoration: none;
    color: black;
}

pre {
    font-family: 'Arial', sans-serif; /* experimenting */
    font-size: 20px;
    color: black;

    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    padding-top: 20px; /* Adjusted for better visibility */
}

input[type="checkbox"] {
  margin-right: 5px;
}


/* Ensure the container aligns elements to the left */
.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: flex-start;  /* Align everything to the left */
  gap: 10px;  /* Adds spacing between elements */
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 300px; /* Adjust as needed */
}

.search-box input[type="text"] {
  width: 100%;
  padding: 8px 36px 8px 15px;  /* top/bottom, right (for ❌), left */
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

/* Light grey placeholder text */
input[type="text"]::placeholder {
  color: #aaa;             /* Light grey placeholder text */
  font-style: italic;      /* Optional: Italic placeholder */
}

.clear-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 28px;
  color: #888;
  display: flex;         /* Optional: better control */
  align-items: center;
  justify-content: center;
  background: white;
  padding: 0 4px;
  line-height: 1;
}

/* Align checkbox and label to the left */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Left-align the file list */
ul {
  list-style-type: none;  /* Remove bullet points if needed */
  padding: 0;
  text-align: left;       /* Ensure the whole list is left-aligned */
}

li {
  text-align: left;       /* Ensure each list item is left-aligned */
  padding: 5px 0;        /* Optional: Add spacing between items */
}

.song-list-top {
    background-color: whitesmoke;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0px 4px 2px -2px gray;
    display: flex;
    align-items: left;
    justify-content: space-between;
    z-index: 1000;
    height: 130px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.song-list-area {
    position: absolute;
    top: 130px; /* Adjust according to song-list-top height */
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    padding: 10px;
    font-family: 'Arial', sans-serif; /* experimenting */
    font-size: 20px;
}

.song-lyrics-top {
    background-color: whitesmoke;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0px 4px 2px -2px gray;
    display: flex;
    align-items: left;
    justify-content: space-between;
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    z-index: 1000;
    padding-left: 10px;
}

.song-lyrics-area {
    position: absolute;
    top: 60px; /* Adjust according to song-lyrics-top height */
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    padding-top: 20px;
    padding-left: 15px;
    padding-bottom: 20px;
    font-size: 20px;
}

.h2-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* aligns text nicely across font sizes */
  padding-right: 10px;
}

.h2-count {
  font-weight: normal;
  font-size: 0.9em;
}
