/* ==== GOOGLE FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Make the viewport background full-bleed */
html { background-color: #393959; }

/* Center all page content and cap it at 1440px */
body {
  margin: 0 auto;
  max-width: 1440px;
  background-color: transparent; /* background color handled by html */
  font-family: 'Arvo', sans-serif;
  color: #FFDECF;
  font-size: 24px;
  min-height: 100%;
  position: relative; /* in case any abspos falls back to body */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* NOTE: Your original CSS set z-index on all elements.
   Keeping it, because many positioned elements rely on it.
   Items that must be behind/in front override this locally. */
* { z-index: 1000; }

button { margin: 0; padding: 0; border: none; outline: none; font-family: 'Arvo'; z-index: 1000; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.36); }
button:active { box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.36); }

h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h3 { line-height: 1; }

p { font-size: 16px; line-height: 24px; }
h1 { font-size: 64px; font-family: 'Playfair Display', sans-serif; font-weight: normal; text-align: center; }
h2 { color: #FFDECF; font-family: 'Playfair Display', sans-serif; font-weight: normal; font-size: 36px; line-height: 1.2; }
h3 { color: #FFDECF; font-family: 'Arvo', sans-serif; font-size: 24px; line-height: 1.3; font-weight: normal; }

/* ==== NAVBAR (shared) ==== */
.navbar {
  margin-top: 48px;
  margin-left: 100px;
  margin-right: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 238px;            /* used by library page layout */
  align-items: center;
  position: relative;
  z-index: 2;
}
.links { display: flex; flex-direction: row; gap: 24px; }
.underline {
  text-underline-offset: 5px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.lang { display: flex; flex-direction: row; gap: 8px; align-items: center; }
.chevron { width: 16px; height: 16px; }

/* ==== HOME PAGE: HERO LAYOUT ==== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: visible;
}
.hero::after {
  content: "";
  display: block;
}

/* Background svg on home */
.g12 {
  width: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  height: 6074px;
  object-fit: cover;
  object-position: top left;
}
.g12.no-height { height: auto !important; }

/* Centered absolute elements for the hero */
.title, .subtitle, .subtitle2, .wave, .list, .cta, .section-header, .decor {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.title     { top: 207px; }
.subtitle  { top: 319px; line-height: 55px; width: max-content; text-align: center; }
.subtitle2 { top: 374px; line-height: 55px; width: max-content; text-align: center; }
.wave      { top: 417px; }
.cta { top: 568px; background-color: #FFDECF; width: 436px; height: 71px; border-radius: 36px; font-family: 'Arvo'; font-size: 24px; color: #333; }
.cta:hover { background-color: #FFD1BD; cursor: pointer; }
.cta:active { background-color: #FFCAB2; }
.list { top: 871px; display: flex; flex-direction: row; gap: 56px; }

/* Home: left-aligned Yuliia image & notes/divider */
.yuliia { position: absolute; top: 301px; height: 487px; z-index: 1; }
.divider { position: absolute; top: 788px; left: 0; right: 0; height: 2px; margin: 0; border: none; background-color: #C5C6FF; z-index: 1000; }
.notes { position: absolute; top: 791px; z-index: 1000; }

/* Home: list cards */
.item { display: flex; flex-direction: column; max-width: 268px; align-items: center; }
.croprotator, .cropper { width: 268px; height: 268px; overflow: hidden; position: relative; border-radius: 12px; }
.croprotator img, .cropper img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.croprotator img { transform: rotate(-90deg); }
.item_header { margin-top: 24px; line-height: 31.2px; }
.item_text { margin-top: 16px; }
.secondary-cta {
  margin-top: 28px; background-color: #A3A3FF; width: 216px; height: 44px; border-radius: 36px; font-size: 16px; color: #333;
}
.secondary-cta:hover { background-color: #7070D1; color: #E3DAC9; cursor: pointer; }
.secondary-cta:active { background-color: #5D5DCB; color: #E3DAC9; }

/* Home: section headers and six feature blurbs */
.section-header { top: 1478px; color: #FFDECF; font-family: 'Playfair Display', sans-serif; font-size: 64px; }
.decor { top: 1568px; }
.aa, .ab, .ac, .ad, .ae, .af, .ag, .ah, .ai, .aj, .ak, .al { z-index: 1000; position: absolute; }
.aa { left: 107px; top: 1721px; }  .ab { left: 590px; top: 1721px; }  .ac { left: 1080px; top: 1721px; }
.ad { left: 100px; top: 2030px; }   .ae { left: 536px; top: 2030px; }   .af { left: 1117px; top: 2030px; }
.ag { left: 100px; top: 1790px; max-width: 295px; }
.ah { left: 573px; top: 1790px; max-width: 295px; }
.ai { left: 1045px; top: 1790px; max-width: 295px; }
.aj { left: 100px; top: 2099px; max-width: 330px; }
.ak { left: 536px; top: 2099px; max-width: 381px; }
.al { left: 1045px; top: 2099px; max-width: 295px; }

/* Home: main content container after hero features */
.container {
  position: absolute;
  left: 50%;
  top: 2400px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1240px;
  z-index: 1000;
}

/* Home: Bio panel */
.bio {
  width: 100%; height: 900px; background: #C5C6FF; border-radius: 12px;
  display: flex; flex-direction: column; position: relative; color: #333;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.bio::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 83%, rgba(51,51,51,1) 98%);
  opacity: 0.6; pointer-events: none;
}
.bio.neutralizebefore::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 91.85%, rgba(0,0,0,0.3) 96.93%, rgba(0,0,0,0.6) 99.72%) !important;
  pointer-events: none;
}
.bio-image { width: 400px; border-radius: 12px; box-shadow: 0px 4px 15px rgba(0,0,0,0.12); position: absolute; top: 0; left: 0; }
h4 { font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 400; }
h6 { font-family: 'Arvo', sans-serif; font-size: 16px; line-height: 1.5; font-weight: 400; text-align: left; }
.bold { font-weight: bold; }

.biochevron { width: 60px; height: 60px; position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px; cursor: pointer; }
.rotate { transform: translateX(-50%) rotate(180deg); }

/* ==== SHARED: Bundle / pricing block (used in both pages) ==== */
.bundle {
           /* home spacing; library uses margin with container below */
  position: relative;
  background-color: #C5C6FF;
  border-radius: 12px;
  width: 100%;
  height: 1400px;
  max-width: 1240px;             /* library page centers it */
  color: #333333;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.booktitle { width: 352px; height: 492px; border-radius: 12px; }
.bundleheading { font-family: 'Playfair Display', serif; font-size: 64px; position: absolute; top: 56px; right: 80px; color: #333; }
.bundlepar-top { position: absolute; top: 160px; right: 50px; max-width: 788px; font-size: 16px; line-height: 1.5; color: #333; }
.snippet1 { width: 440px; height: 107px; position: absolute; top: 416px; right: 398px; }
.bookcontents { width: 352px; height: 492px; border-radius: 12px; position: absolute; top: 444px; right: 0; }
.bundlepar-bottom { position: absolute; top: 539px; left: 50px; max-width: 790px; font-size: 16px; line-height: 1.5; color: #333; }

.bundle-cta {
  width: 524px; height: 71px; border-radius: 36px;
  position: absolute; bottom: 606px; left: 182px;
  color: #333; font-family: 'Arvo', sans-serif; font-size: 24px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2); background-color: #E3DAC9;
}
.bundle-cta:hover { background-color: #DACFB8; cursor: pointer; }
.bundle-cta:active { background-color: #D2C3A8; }

.pricebox { display: flex; flex-direction: row; gap: 63px; position: absolute; left: 126px; bottom: 519px; color: #333; }
.priceitem { display: flex; flex-direction: row; gap: 24px; align-items: center; text-align: center; color: #333; }
.pricelabel { font-size: 16px; font-family: 'Arvo', sans-serif; text-decoration: underline; text-underline-offset: 25%; text-decoration-thickness: 0.4px; color: #333; }
.price { display: flex; width: 136px; height: 47px; border-radius: 36px; background-color: transparent; border: 1px solid #333; align-items: center; justify-content: center; text-align: center; font-size: 24px; color: #333; }
.pricepar { font-size: 24px; text-align: center; color: #333; }
.kleinelettertjes { position: absolute; bottom: 493px; left: 396px; font-family: 'Arvo', sans-serif; font-size: 12px; color: #333; }
.line { position: absolute; bottom: 464px; left: 68px; }

.ctaheading { font-family: 'Playfair Display', serif; font-size: 64px; position: absolute; left: 50%; transform: translateX(-50%); bottom: 354px; width: 893px; color: #333; }
.underlinedheading { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1.4px; }
.ctasubheading { color: #333; font-family: 'Arvo', sans-serif; font-size: 24px; position: absolute; left: 50%; transform: translateX(-50%); bottom: 275px; width: 869px; }
.bundle-cta-primary {
  width: 506px; height: 71px; border-radius: 36px;
  position: absolute; bottom: 144px; left: 50%; transform: translateX(-50%);
  color: #333; font-family: 'Arvo', sans-serif; font-size: 24px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2); background-color: #E3DAC9;
}
.bundlefooter { position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%); width: 721px; color: #333; }

/* ==== HOME: Free block & Prefooter ==== */
.free {
  margin-top: 256px; position: relative; background-color: #C5C6FF; border-radius: 12px; width: 100%; height: 387px; color: #333; box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}
.freeheading { font-family: 'Playfair Display', serif; font-size: 64px; position: absolute; left: 50%; transform: translateX(-50%); top: 44px; width: 1070px; }
.freepar { font-family: 'Arvo', sans-serif; font-size: 16px; position: absolute; left: 50%; transform: translateX(-50%); top: 156px; width: 1070px; color: #333; }
.btns { display: flex; flex-direction: row; gap: 84px; position: absolute; left: 50%; transform: translateX(-50%); bottom: 52px; }
.freeprimarybtn { width: 437px; height: 71px; border-radius: 36px; background-color: #7070D1; color: #E3DAC9; font-family: 'Arvo', sans-serif; font-size: 24px; }
.freeprimarybtn:hover { background-color: #5D5DCB; color: #E3DAC9; cursor: pointer; }
.freeprimarybtn:active { background-color: #5D5DCB; color: #E3DAC9; }
.freesecondarybtn { width: 437px; height: 71px; border-radius: 36px; background-color: transparent; color: #333; font-family: 'Arvo', sans-serif; font-size: 24px; border: 2px solid #7070D1; }
.freesecondarybtn:hover { background-color: #A3A3FF; color: #333; cursor: pointer; border: none; }
.freesecondarybtn:active { background-color: #7070D1; color: #E3DAC9; border: none; }

.prefooter { position: relative; margin-top: 94.37px; display: flex; align-items: center; justify-content: center; text-align: center; max-width: 794.59px; justify-self: center; height: 447.6px; }
.slogan { text-align: center; font-family: 'Playfair Display', serif; font-style: italic; font-size: 64px; text-decoration: underline; text-underline-offset: 11px; text-decoration-thickness: 1px; width: 610px; z-index: 10000; }
.prefooter-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* ==== SHARED FOOTER ==== */
.footer { position: relative; width: 100%; height: 372px; background-color: #242438; }
.centre { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; text-align: center; flex-direction: column; }
.left { position: absolute; top: 73px; left: 100px; display: flex; text-align: center; flex-direction: column; align-items: flex-start; }
.right { position: absolute; top: 73px; right: 66px; display: flex; text-align: center; flex-direction: column; align-items: center; }
.footer_center-par { margin-top: 36px; }
.footerwave { margin-top: 24px; }
.footernavbar { margin-top: 75px; display: flex; flex-direction: row; justify-content: center; align-items: center; position: relative; }
.footerbottom { margin-top: 39px; font-family: 'Arvo', sans-serif; font-size: 12px; color: #8a8a8a; }
.info { display: flex; flex-direction: column; align-content: space-between; gap: 20px; }
.infoitem { display: flex; flex-direction: row; justify-content: space-between; gap: 20px; font-size: 16px; text-align: left; }
.infoitem img { width: 20px; height: 20px; }
.infoitem p { width: 100%; }
.footerlogo { width: 139px; margin-top: 38px; align-self: center; }
.footerslogan { font-family: 'Playfair Display', serif; font-size: 36px; font-style: italic; font-weight: normal; }
.footer-cta { font-family: 'Arvo', sans-serif; font-size: 24px; background-color: #A3A3FF; color: #333; width: 272px; height: 55px; border-radius: 36px; margin-top: 52px; }
.footer-cta:hover { background-color: #7070D1; color: #E3DAC9; cursor: pointer; }
.footer-cta:active { background-color: #5D5DCB; color: #E3DAC9; }
.socials { margin-top: 44px; display: flex; flex-direction: row; gap: 24px; }


  .bg-wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden; /* clips if image overflows vertically */
    z-index: 0 !important;
  }

  .bg-wrapper img.bg {
    width: 1440px;
    height: 100%;
    object-fit: cover;
    margin: 40px auto 0;
    z-index: 0 !important;
  }





/* ==== LIBRARY PAGE: Universal cards wrapper ==== */
.universal {
  position: relative;
  background-color: #C5C6FF;
  border-radius: 12px;
  width: 100%;
  color: #333333;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: row;
  gap: 0px;
}

/* ==== SHARED MODAL + FORMS (used by both pages) ==== */
.modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  overflow-y: auto;
}
.modal-content {
  position: relative;
  background: #c5c6ff;
  border-radius: 12px;
  width: 820px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  margin: 5vh auto;
  padding-top: 64px;
  overflow-y: auto;
  height: 100%;
}
.close { position: absolute; top: 20px; right: 20px; cursor: pointer; }

.field {
  display: flex; flex-direction: row; justify-content: space-between; align-items: center;
  margin-right: 228px; margin-top: 20px; margin-left: auto;
}
.field > p { text-align: right; margin: 0 10px 0 0; white-space: nowrap; flex: 1; }
.field > div { flex: 0 0 392px; }
.field input {
  width: 100%; height: 40px; border-radius: 16px; border: 1px solid #333; outline: none; background: transparent;
  padding: 8px 24px; color: #333; font-size: 16px; line-height: 1.5; font-weight: 400; font-family: 'Arvo', sans-serif; caret-color: #7070D1;
}
.field input::placeholder { color: #8a8a8a; font-size: 16px; line-height: 1.5; font-weight: 400; font-family: 'Arvo', sans-serif; }
sup { color: #DC0000; }
.error { font-size: 12px; line-height: 1.5; font-weight: 500; margin-top: 8px; margin-left: 12px; color: #DC0000; font-family: 'Lora', serif; }
.error.hidden { display: none; }

.radiofield { gap: 21px; display: flex; flex-direction: row; margin-top: 36px; margin-left: 100px; align-items: flex-start; }
.radio-group { display: grid; grid-template-columns: auto auto; gap: 16px 24px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-family: 'Arvo', sans-serif; font-size: 16px; color: #333; }
.radio-group input[type="radio"] { margin: 0; }
.radio-group label:last-child { grid-column: 1 / -1; }

.radio-group-large .row { display: flex; gap: 16px 24px; margin-bottom: 16px; }
.radio-group-large label { display: inline-flex; align-items: center; gap: 8px; color: #333; font-size: 16px; line-height: 1.5; font-family: 'Arvo', sans-serif; }

.radio input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-family: 'Arvo', sans-serif; font-size: 16px; color: #333; cursor: pointer; position: relative; }

.custom-radio { width: 12px; height: 12px; border: 1px solid #333; border-radius: 50%; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.radio input[type="radio"]:checked + .custom-radio {
  background: transparent url("media/spradio.svg") no-repeat center center; background-size: cover;
}

.hidden { display: none; }

textarea, .overwrite {
  max-width: 593px; width: 100%; height: 92px; border-radius: 16px; border: 1px solid #333; outline: none; background: transparent;
  padding: 10px 16px; color: #333; font-size: 16px; line-height: 1.5; font-weight: 400; font-family: 'Arvo', sans-serif; caret-color: #7070D1; display: block;
}
textarea::placeholder { color: #8a8a8a; font-size: 16px; line-height: 1.5; font-weight: 400; font-family: 'Arvo', sans-serif; }

.checkfield { margin-top: 42px; gap: 16px; display: flex; flex-direction: column; margin-left: 100px; margin-bottom: 16px; }
.checkfield-row { margin-top: 30px; gap: 28px; display: flex; flex-direction: column; margin-left: 100px; }
.checkfield-row.hidden { display: none; }

.checkbox-group { display: grid; grid-template-columns: max-content max-content; column-gap: 52px; row-gap: 16px; }
.om-checkbox-group { display: grid; grid-template-columns: max-content max-content; column-gap: 47px; row-gap: 16px; }
.om-checkbox-group2 { display: flex; flex-direction: row; gap: 37px; }
.om-checkbox-group3 { display: flex; flex-direction: row; gap: 37px; }

.checkbox { display: flex; align-items: center; gap: 12px; font-family: 'Arvo', sans-serif; font-size: 16px; color: #333; cursor: pointer; }
.checkbox input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.custom-checkbox { width: 20px; height: 20px; border: 1px solid #333; background: transparent; display: inline-block; background-position: center; background-repeat: no-repeat; background-size: 16px 16px; }
.checkbox input[type="checkbox"]:checked + .custom-checkbox { background-image: url("media/spcheck.svg"); }

.vertifield { display: flex; flex-direction: column; margin-top: 20px; margin-left: 100px; gap: 16px; }

.radio-group-two, .radio-group-four, .radio-group-two-alt { display: flex; flex-direction: row; gap: 24px; }

.custom-radio-alt, .custom-radio-alt2 {
  width: 12px; height: 12px; border: 1px solid #333; border-radius: 50%; background: transparent; display: inline-flex; align-items: center; justify-content: center;
}
.radio.alt input[type="radio"]:checked + .custom-radio-alt {
  background: transparent url("media/omradio.svg") no-repeat center center; background-size: cover;
}
.radio.alt2 input[type="radio"]:checked + .custom-radio-alt2 {
  background: transparent url("media/collectionradio.svg") no-repeat center center; background-size: contain;
}

.custom-checkbox-alt { width: 20px; height: 20px; border: 1px solid #333; background: transparent; display: inline-block; background-position: center; background-repeat: no-repeat; background-size: 16px 16px; }
.checkbox.alt input[type="checkbox"]:checked + .custom-checkbox-alt { background-image: url("media/mtplcheck.svg"); }

.vertifieldinput { display: flex; flex-direction: column; margin-top: 42px; margin-left: 100px; gap: 16px; }
.vertifieldinput input {
  width: 392px; height: 40px; border-radius: 16px; border: 1px solid #333; outline: none; background: transparent;
  padding: 8px 24px; color: #333; font-size: 16px; line-height: 1.5; font-weight: 400; font-family: 'Arvo', sans-serif; caret-color: #7070D1;
}
.vertifieldinput input::placeholder { color: #8a8a8a; font-size: 16px; line-height: 1.5; font-weight: 400; font-family: 'Arvo', sans-serif; }

/* --- Language dropdown (hover, no JS) --- */
.lang-dd {
  position: relative;
  display: inline-block;
  z-index: 5001; /* higher than your global 1000 */
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 16px;
  font-family: 'Arvo', sans-serif;
  color: #FFDECF;            /* standard site text color */
  cursor: pointer;           /* ensure pointer visible */
  box-shadow: none;
}

.lang-arrows { display: inline-flex; align-items: center; }
.arrow       { width: 16px; height: 16px; display: inline-block; }
.arrow-down  { display: none; }            /* up by default */
.lang-dd:hover .arrow-up  { display: none; }
.lang-dd:hover .arrow-down{ display: inline-block; } /* flip on hover */

/* --- keep your existing .lang-dd, .lang-trigger, .lang-item etc. --- */

/* Make the menu open area continuous + keep no background */
.lang-menu {
  position: absolute;
  top: 100%;           /* sit directly under the trigger */
  left: 0;
  margin-top: 4px;     /* visual gap (we'll bridge it below) */
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;  /* no background */
  padding: 0;
  border: 0;
  box-shadow: none;
  z-index: 6001;
  color: #FFDECF;      /* ensure text gets the site color */
  font-size: 16px;
}

/* Invisible hover bridge to cover the 4px gap so it doesn't close */
.lang-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -8px;           /* extend up into the gap */
  height: 8px;         /* bigger than the 4px gap = safe */
  /* transparent but hover-active */
}

/* Open the menu when hovering the whole block OR the menu itself */
.lang-dd:hover .lang-menu,
.lang-dd:has(.lang-menu:hover) .lang-menu {
  display: flex;
}

/* Arrow handling must also respect both hovers */
.arrow { width: 16px; height: 16px; display: inline-block; }
.arrow-down { display: none; }

.lang-dd:hover .arrow-up,
.lang-dd:has(.lang-menu:hover) .arrow-up { display: none; }

.lang-dd:hover .arrow-down,
.lang-dd:has(.lang-menu:hover) .arrow-down { display: inline-block; }

/* Ensure clickable look */
.lang-trigger { cursor: pointer; color: #FFDECF; }
.lang-item { all: unset; cursor: pointer; color: #FFDECF; font-family: 'Arvo', sans-serif; font-size: 16px; }
.lang-item:hover { text-decoration: underline; text-underline-offset: 3px; }


  .tab {
      display: none;
      padding: 20px;
   
    }

   .tab-link {
   
    line-height: 1.3;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
  }

  .tab-link.active {
    border-bottom: 2px solid #E3DAC9;
   
  }

  .musictheory {
  width: 1240px; background: #C5C6FF; border-radius: 12px;
  display: flex; flex-direction: row; position: relative; color: #333;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin: 124px auto 0;
}


/*  TAB LIBRARY - OTHER MUSIC */

.filter-bar {
  display: flex;
  gap: 1rem;
  margin-left: 100px;
  align-items: center;
    justify-content: space-between;

  width: 1240px;
  font-family: sans-serif;
}

.margin-left  {
   margin-left: 100px;
}


.toggle-group {
  display: flex;

   width: 487px;
}

.toggle {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 24px;
  background: #C5C6FF;
  font-family: 'Arvo', sans-serif;
  color: #333;
  cursor: pointer;
    z-index: 1;
}

.toggleleft {
  left: 0;
    width: 487px;

}

.toggleright {
  right: 0;
    width: 487px;
  transform: translateX(-30px); /* Overlaps left button */

}

.toggle.active {
 /*background: #7070D1;
    border-radius: 24px;
  border-color: #7070D1;
   */
    z-index: 2;
 
}



.search-box {
  position: relative;
  border-radius: 16px;

}

.search-box input {
  padding: 0.5rem 2rem 0.5rem 0.5rem;
   width: 452px;
  border-radius: 24px;
  background-color: #E3DAC9;
   font-family: 'Arvo', sans-serif;
}

.search-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}

.dropdown select {
  padding: 0.5rem;
  width: 231px;
   font-family: 'Arvo', sans-serif;
  color: #FFDECF;
  border: 1px solid #ccc;
  border-radius: 24px;
    background: transparent;
    border-color: #7070D1;
}


select#piece_composition option {
  background-color: #FFDECF; /* light gray */
  color: #333;               /* text color */
}
