/* 1-stylesheet v 4.6 */



svg, svg * {
  user-select: none;
  -webkit-user-select: none; /* For Safari */
  -ms-user-select: none; /* For IE/Edge */
}


html, body {
    overflow: hidden;
}

h2 {
    font-family: 'MUlish', sans-serif;
    font-weight: 500;
}

/* CSS animation for expanding the export-import div */
@keyframes expand {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: auto;
        opacity: 1;
    }
}


#lunar-1-month,#lunar-2-month-6,#lunar-3-month-5,#lunar-4-month-6,#lunar-5-month-2,#lunar-6-month-9,#lunar-7-month-1,#lunar-8-month-2,#lunar-9-month-7,#lunar-10-month-0,#lunar-11-month-9,#lunar-12-month-3,#lunar-13-month-0:hover {
    opacity: 1;
}


path[id*="week-"] {
    fill: var(--weeks-circle);
}

#world-background-circle {
    fill: var(--general-background);
}

#north-america {
    fill: var(--weeks-circle);
}

#europe-africa-background {
    fill: var(--general-background);
}

#map-europe-africa {
    fill: var(--weeks-circle);
}


#earth-map {
    display: none;
}

#earth-orbit {
    stroke: rgb(33, 33, 226);
}

/* path[id*="day-marker"] {
  opacity: 0.2;
}    */


@font-face {
    font-family: "Mulish";
    src: url("../assets/fonts/Mulish-Light.ttf");
    font-display: swap;
}

@font-face {
    font-family: "Arvo";
    src: url("../assets/fonts/Arvo-Regular.ttf");
    font-display: swap;
}

#solar-system-center {
    transition: opacity 0.4s ease-out;
}

#all-daymarkers  {
    transition: opacity 0.2s ease-out;
}

#days-of-year-lines  {
    transition: opacity 1.3s ease-out;
}

#days-of-year-lines {
    opacity: 0;
}

#all-daymarkers  {
    opacity: 0;
}

#ray_lines  {
    opacity: 0;
}

.previous-button {
    width:22.5px;
    height:22.5px;
    text-align:center;
    cursor:pointer;
}

.next-button {
    width:22.5px;
    height:22.5px;
    text-align:center;
    cursor:pointer;
}

#reset-to-today {
    width:22.5px;
    height:22.5px;
    text-align:center;
    cursor:pointer;
}


.planet-info-box {
    display:none;
    text-align:left;
    z-index: 37;
    position: fixed;
    bottom: 55px;
    left: 20px;
}


.close-planet-info-button {
    display: none;
}

.animal-info-box {
    display:none;
    width: 300px;
    height:fit-content;
    font-size: 0.8em;
    text-align:left;
    z-index: 20;
    position: fixed;
    bottom: 85px;
    left: 25px;
    pointer-events: none;
}

.comet-3i-info {
    font-family: 'Mulish', sans-serif;
}

.comet-3i-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.comet-3i-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
}

.comet-3i-title {
    font-size: 1em;
}

.comet-3i-image img {
    max-height: 40px;
}


.modal-hidden {
    display:none;}

.modal-visible {
    display: block;
}

.ec-visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

#user-details {
    cursor:pointer !important;
}

#user-details:hover {
    text-decoration: underline;
}

.date-time-add-box,
.date-time-box {
    pointer-events: none;
}

.date-time-add-box .add-event-button,
.date-time-add-box #add-datecycle-button,
.date-time-add-box #user-details {
    pointer-events: auto;
}



/* END OF OLD INDEX INLINED CSS  */

p {
 font-family: 'Mulish', sans-serif;
  font-size: 1.1em;
  color:var(--text-color);
  }

  p a:hover {
  color:var(--h1);
  }

#user-timezone-lang {
    font-size: 0.95em;
    color: var(--subdued-text);
    font-family: 'Mulish', sans-serif;
    margin-top: 4px;
    margin-left:auto;
    z-index:20;
    }


.planet-info {
    background: var(--general-background);
    padding: 10px;
    border-radius: 15px;
}

  @media screen and (max-width: 700px) {

  #user-timezone-lang {
    display: none;
    }



  .date-info h2 {
    font-size: 1.2em;
  
  }

  .date-info p {
    font-size: 0.85em;
  
  }

  #current-time  {
    font-size: 0.85em;
    display: none;
  
  }
  .earth-icon {
    font-size: 1.5em;
    padding:5px 0 5px 5px;
    display: none;
  }

  .planet-info {
    font-size: 0.8em;
    font-family: 'Mulish', sans-serif;
    color: grey;
    height: fit-content;
    padding-top: 10px;
    line-height: 1.2;
    }
  }


  @media screen and (min-width: 700px) {



    .date-info h2 {
      font-size: 1.1em;
    
    }
    .earth-icon {
      padding:15px 0 15px 15px;
      /*font-size: 3.4em;*/
    }
    .planet-info {
    font-size: 1em;
    line-height:1.2em;
    font-family: 'Mulish', sans-serif;
    color: grey;
    height: fit-content;
    padding-top: 10px;
    padding-right: 25px;

    }
  }

.icon-button-row,
.icon-button-column {
  position: fixed;
  display: none;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 12px;
  background: rgba(128, 128, 128, 0.17);
  border-radius: 8px;
  z-index: 30;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
}


/* --------------------------------------------------------------------------


2. Document Setup


-------------------------------------------------------------------------- */


html {
  height: 100%;
  }
  
  
  body {
    z-index: 0;
    width: 100%;
    height:100%;
    background-color: var(--general-background);
    margin: 0;
  }
  



svg {
  pointer-events: all;
}


/*------------------------------------


3. Header


------------------------------------*/



.top-menu {
  transition: 0.4s;
  z-index: 20;
height: fit-content;
width: 100%;
top: 0;
display: flex;
flex-direction: row;
}

.reset-button {
  z-index: 15;
  margin-left:15px;
  position: absolute;
  border-radius: 10px;
  padding: 5px 10px;
  border: none;
  margin-top: 2px;
  cursor: pointer;
  display: none;  
}


#tomorrow {
  z-index: 20;
      /* padding: 20px;
      margin-left:116px;
      position: absolute;*/
      background-color: #a52a2a00;
      border-radius: 0 12px 12px 0;
      padding: 5px 7px;
      border: none;
      margin-top: 0;
      cursor: pointer;
      color: grey;
      display: none;
      font-size: 1.2em;
}

#yesterday {
  z-index: 20;
     
      /* margin-left:15px;
      position: absolute;*/
      /* background-color:  var(--general-background);  */
      background-color: #a52a2a00;
      border-radius: 12px 0 0 12px;
      padding: 5px 4px;
      border: none;
      margin-top: 0;
      cursor: pointer;
      color: grey;
      display: none;
      font-size: 1.2em;
}

@media screen and (max-width: 700px) {
  .yesterday-button {  
    display: none;
  }
  .tomorrow-button {  
    display: none;
  }
}

  @media screen and (min-width: 701px) {
        #header {
          height: 2px;
        }
        }

        @media screen and (max-width: 700px) {
        #header {

          height: 36px;
        }
}



.top-search-button  {
  border: none; 
    margin:0 10px 10px 10px;
  cursor:pointer;
  height:30px;
  width:30px;
}


.top-settings-button  {
    border: none;
    margin:0 10px 10px 10px;
    cursor:pointer;
    height:30px;
    width:30px;
}



#event-show-hide  {
  border: none;
    margin:0 10px 10px 10px;
  cursor:pointer;
  height:30px;
  width:30px;
}


.top-menu-button  {
  border: none; 
  margin:0 10px 10px 10px;
  cursor:pointer;
  height:30px;
  width:30px;
}


.top-help-button  {
  border: none; 
  margin:0 10px 10px 10px;
  cursor:pointer;
  height:30px;
  width:30px;
}


.top-add-button  {
  border: none; 
  /*margin:14px 15px 10px 6px;*/
   margin: 0px 10px 10px 6px;
  cursor:pointer;
  height:45px;
  width:45px;
}

.top-add-icon  {
  border: none; 
  margin:0 auto 10px auto;
  height:80px;
  width:80px;
}

.top-search-icon  {
  border: none;
  margin:0 auto 10px auto;
  height:80px;
  width:80px;
}

.top-settings-icon  {
  border: none;
  margin:0 auto 25px auto;
  height:60px;
  width:60px;
}


.earthcycles-logo {
  margin:15px auto 0 auto;
  padding:5px 5px 5px 5px;
  width: 200px;
  height: 200px;
  border: none; 
}


.main-menu-button {
  position:absolute;
  left:0;
  margin-top: 22px;
  margin-left:25px;
  border: none; 
  margin-right:10px;
  cursor:pointer;
  height:30px;
  width:30px;
}


.main-menu-button:hover  {
  border: none; 
  margin-right:10px;
  cursor:pointer;
  height:30px;
  width:30px;
}



#EarthCycles {
  position: absolute;
  z-index: 0;
  top: 0;
}


.date-info {
  height:fit-content; 
  font-family:'Mulish', sans-serif; 
  color: var(--text-color); 
  padding: 0 5px 15px 15px;
    pointer-events: auto;

}

#current-datecycles::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Blocks interaction only on empty spaces */
}


@media screen and (max-width: 700px) {
    .date-info {
    background:var(--transparent);
    }
}


#current-datecycles .date-info:hover {
 background:var(--grey-trans-over);
  cursor:pointer;
  }

  #pinned-datecycles .date-info:hover {
 background:var(--grey-trans-over);
  cursor:pointer;
  }

/* -------------------------------------------------------------------------- */

/*	6. User Settings Overlay Curtain 

    Comes in from the right after clicking +- button.

/* -------------------------------------------------------------------------- */

#main-menu-overlay {
  background-color: var(--side-overlays) /*var(--overlays-and-headers:)*/;
  color:  var(--text-color); /*var(--text-color)*/ ;
  z-index: 56;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

@media (prefers-color-scheme: dark) {
  #main-menu-overlay {
    background-image: url(../webp/earthen-subscription-background-dark.webp);
  }
}

@media (prefers-color-scheme: light) {
  #main-menu-overlay {
    background-image: url(../webp/earthen-subscription-background-light.webp);
  }
}


/* Table of Contents Menu (background) */
.overlay-settings {
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 21; /* Sit on top */
  left: 0;
  top: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}


/* Position the content inside the overlay */
.overlay-content-settings {
  position: initial;
  text-align: center; /* Centered text/links */
  font-family: "Mulish", sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 auto;
  padding: 30px 0;
  box-sizing: border-box;
}

#main-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 1 auto;
}

#main-menu-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#main-menu-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.earthcal-app-logo {
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.earthcal-app-logo img {
  width: 177px;
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 1199px) {
  .earthcal-app-logo img {
    width: 111px;
  }
}

@media screen and (max-width: 767px) {
  .earthcal-app-logo img {
    width: 88px;
  }
}


@media screen and (max-width: 700px) {
  .overlay-content-settings {
    width: 77%;
    font-size: 0.9em;
    margin-top: 30px;
}
}

@media screen and (min-width: 700px) and (max-width: 1324px) {
  .overlay-content-settings {
    width: 65%;
    font-size: 0.9em;

}
}

@media screen and (min-width: 1325px) {
    .overlay-content-settings {
      width: 69%;

    }
}

.settings-label {
    font-family: "Mulish", sans-serif;
  font-size: 1.2em;
  margin: 18px 0 8px 0;
}

.language-box {
  display: flex;
  margin: 10px auto 10px auto;
  justify-content: center;
  padding: 5px 30px 5px 30px;
  background: var(--slide-highlight);
  border-radius: 55px;
  width: fit-content;
}

.language-selector {
font-family: "Mulish", sans-serif;
  padding: 10px 20px 10px 20px;
  background: var(--side-overlays);
  border-radius: 10px;
  margin: 10px;
 /* filter: invert(100);*/
  font-size: 1.1em;
  cursor: pointer;
  color: var(--text-color);
  /*border-color:var(--header-accent);*/
  border-width:0.5px;

}

.language-selector:hover {
  background: var(--header-accent);
  border-width:1px;
  color:var(--top-header);
}

.language-selector a {
  color: var(--side-overlays);
}



/*Carbon Badge */

#wcb.wcb-d #wcb_a {
  color: #2e2e2e !important;
background: #27ad37 !important;
border-color: #00a112 !important;
}

#wcb #wcb_a,
#wcb #wcb_g {
  border: 0.2em solid #2cb03c !important;
}

#wcb.wcb-d #wcb_2 {
  color: grey !important;
}


/*Right Close Button*/

#right-close-button {
  position: absolute;
  transition: 0.3s;
  height: 75px;
  width:75px;
  padding-right: 30px;
  padding-top: 30px;
  right: 0;
  top: 0;
}

#left-close-button {
  position: absolute;
  right: 0;
  transition: 0.3s;
  height: 75px;
  width:75px;
  padding-right: 30px;
  padding-top: 30px;
  left: 0;
  top: 0;
}


.x-button {
    position:absolute;
    }


  @media screen and (min-width: 700px) {
.x-button {
    padding: 10px;
    background-size: contain;
    width: 60px;
    height: 60px;
    border:none;
    cursor:pointer;
    z-index:30;
    }
}

  @media screen and (max-width: 700px) {
.x-button {
    padding: 6px;
    background-size: contain;
    width: 50px;
    height: 50px;
    border:none;
    cursor:pointer;
    z-index:30;
}
}


#day-search .x-button {
    top:25px;
    right:25px;
    }

#right-settings-overlay .x-button {
    top:25px;
    left: 25px;
    }

#add-datecycle .x-button {
    top:20px;
    right: 20px;
    z-index: 120;
    }

#form-modal-message > .x-button {
    position: fixed;
    top:25px;
    right: 12px;
    z-index: 60;
    }

 .planet-info-container .x-button {
    width: 36px;
    height: 36px;
    margin:auto;
    }

.menu-page-item {
  padding:10px;
  font-family:'Mulish';
  font-size:1.4em;
  color:var(--text-color);
  border-bottom:1px solid var(--subdued-text);
  cursor: pointer;
    width: 100%;


}


.menu-plan-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 0;
  text-align: center;
}


.menu-plan-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid #22c55e;
}

.menu-plan-pill-padwan {
  border-color: #22c55e;
}

.menu-plan-pill-jedi {
  border-color: #22c55e;
}

.menu-plan-pill-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.menu-plan-pill-text {
  white-space: nowrap;
}

.menu-plan-action {
  font-family: 'Mulish', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 12px;
  border: none;
  background: none;
  color: #6b7280;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.menu-plan-action:hover,
.menu-plan-action:focus {
  color: #15803d;
  text-decoration: underline;
  outline: none;
}

.menu-feedback-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.menu-feedback-link:focus {
  outline: 2px solid var(--general-background-highlight, #2f855a);
  outline-offset: 4px;
}


.menu-page-item:hover {

  border-bottom:2px solid var(--text-color);
  color: var(--header-accent);
  
}

.menu-page-item a {  text-decoration: none;
color: var(--subdued-text);
}

.menu-page-item a:hover {  text-decoration: none;
  color: var(--h1);
  }


  /*working?!*/
[part="darkLabel"], [part="lightLabel"], [part="toggleLabel"] {

  font-size: 22px !important;
}

legend {
  margin: 0 auto 10px auto !important;
}


/*-----------------------------------------


MONTHS


-----------------------------------------*/

#solar_months_366 {
  display: block;
  opacity: 0;
  transition: opacity 1s;
}


#solar_months_365 {
  display: block;
  opacity: 0;
  transition: opacity 1s;
}



path[id*="lunarmonth-12"] {
  opacity: 0;
  transition: opacity 1s;
}



/*Sets the original opacity of both the _365 and _366 solar months*/
svg path[id*="january_3"],
svg path[id*="february_3"],
svg path[id*="march_3"],
svg path[id*="april_3"],
svg path[id*="may_3"],
svg path[id*="june_3"],
svg path[id*="july_3"],
svg path[id*="august_3"],
svg path[id*="september_3"],
svg path[id*="october_3"],
svg path[id*="november_3"],
svg path[id*="december_3"] {
  opacity: 0.65;
  transition: 0.5s;
  cursor: pointer;
}


/*to be updated once date's have their highlight flagger.*/
.date_event {
  fill-opacity: 0.3 !important;
}

/* .date_event:hover {
  opacity: 0.8;
} */


@media (min-width: 769px) {

      svg path[id*="-day"]:hover {
        fill-opacity: 0.6;
      }
      svg path[id*="-day"]:active {
        fill-opacity: 1;
      }


      svg path[id*="january_36"]:hover,
      svg path[id*="february_36"]:hover,
      svg path[id*="march_36"]:hover,
      svg path[id*="april_36"]:hover,
      svg path[id*="may_36"]:hover,
      svg path[id*="june_36"]:hover,
      svg path[id*="july_36"]:hover,
      svg path[id*="august_36"]:hover,
      svg path[id*="september_36"]:hover,
      svg path[id*="october_36"]:hover,
      svg path[id*="november_36"]:hover,
      svg path[id*="december_36"]:hover {
        opacity: 1;
        transition: 0.4s;
        cursor: pointer;
      }

      svg path[id*="january_36"].final,
      svg path[id*="february_36"].final,
      svg path[id*="march_36"].final,
      svg path[id*="april_36"].final,
      svg path[id*="may_36"].final,
      svg path[id*="june_36"].final,
      svg path[id*="july_36"].final,
      svg path[id*="august_36"].final,
      svg path[id*="september_36"].final,
      svg path[id*="october_36"].final,
      svg path[id*="november_36"].final,
      svg path[id*="december_36"].final {
      opacity: 1;
      cursor: pointer;
      transition: 0s; /* Set the transition duration to 0 seconds */
    }
}


@media (max-width: 770px) {

  svg path[id*="-day"]:hover {
    fill-opacity: 0.6;
  }
  
  /* Add a transition to the paths */
  path[id*='-day'] {
    transition: fill-opacity 0.75s;
  }

  /* Set the active state of the paths HERE BABY!!*/
  path[id*='-day'].active {
    fill-opacity: 0 !important;
  }

  /* Set the final state of the paths */
  path[id*='-day'].final {
    fill-opacity: 1 !important;
  }

  svg path[id*="january_36"]:hover,
  svg path[id*="february_36"]:hover,
  svg path[id*="march_36"]:hover,
  svg path[id*="april_36"]:hover,
  svg path[id*="may_36"]:hover,
  svg path[id*="june_36"]:hover,
  svg path[id*="july_36"]:hover,
  svg path[id*="august_36"]:hover,
  svg path[id*="september_36"]:hover,
  svg path[id*="october_36"]:hover,
  svg path[id*="november_36"]:hover,
  svg path[id*="december_36"]:hover {
    opacity: 1;
    transition: 0.4s;
    cursor: pointer;
  }


  svg path[id*="january_36"].active,
  svg path[id*="february_36"].active,
  svg path[id*="march_36"].active,
  svg path[id*="april_36"].active,
  svg path[id*="may_36"].active,
  svg path[id*="june_36"].active,
  svg path[id*="july_36"].active,
  svg path[id*="august_36"].active,
  svg path[id*="september_36"].active,
  svg path[id*="october_36"].active,
  svg path[id*="november_36"].active,
  svg path[id*="december_36"].active {
  fill-opacity: 0.5;
}

svg path[id*="january_36"].final,
svg path[id*="february_36"].final,
svg path[id*="march_36"].final,
svg path[id*="april_36"].final,
svg path[id*="may_36"].final,
svg path[id*="june_36"].final,
svg path[id*="july_36"].final,
svg path[id*="august_36"].final,
svg path[id*="september_36"].final,
svg path[id*="october_36"].final,
svg path[id*="november_36"].final,
svg path[id*="december_36"].final {
  fill-opacity: 1;
  cursor: pointer;
  transition: 0s; /* Set the transition duration to 0 seconds */

}
}


 /* CSS for screens above 768px (desktop) */
/*January*/
svg path[id*="-1-20"]:not([id*="-marker"]) {
  fill: #6600ffff;
  fill-opacity: 0.3;
  cursor: pointer;
}

/*February*/
svg path[id*="-2-20"]:not([id*="-marker"]) {
  fill: #ff00d9;
  fill-opacity: 0.3;
  cursor: pointer;
}

/*March*/
svg path[id*="-3-20"]:not([id*="-marker"]) {
  fill: #fb0000;
  cursor: pointer;
  fill-opacity: 0.3;
}

/*April*/
svg path[id*="-4-20"]:not([id*="-marker"]) {
  fill: #ff6403;
  cursor: pointer;
  fill-opacity: 0.3;
}

/*May*/
svg path[id*="-5-20"]:not([id*="-marker"]) {
  fill: rgb(255, 128, 1);
  cursor: pointer;
  fill-opacity: 0.3;
}

/*June*/
svg path[id*="-6-20"]:not([id*="-marker"]) {
  fill: rgb(255, 209, 25);
  cursor: pointer;
  fill-opacity: 0.3;
}

/*July*/
svg path[id*="-7-20"]:not([id*="-marker"]) {
  fill: rgb(251, 251, 0);
  cursor: pointer;
  fill-opacity: 0.3;
}

/*August*/
svg path[id*="-8-20"]:not([id*="-marker"]) {
  fill: #c9fa08;
  cursor: pointer;
  fill-opacity: 0.3;
}

/*September*/
svg path[id*="-9-20"]:not([id*="-marker"]) {
  fill: #00e513ff;
  cursor: pointer;
  fill-opacity: 0.3;
}

/*October*/ 
svg path[id*="-10-20"]:not([id*="-marker"]) {
  fill: rgb(0, 230, 169);
  cursor: pointer;
  fill-opacity: 0.3;
}

/*November*/ 
svg path[id*="-11-20"]:not([id*="-marker"]) {
  fill: #0cabf5;
  cursor: pointer;
  fill-opacity: 0.3;
}

/* December */
svg path[id*="-12-20"]:not([id*="-marker"]) {
  fill: #4646fa;/*#3d3de9;*/
  cursor: pointer;
  fill-opacity: 0.3;
} 


/* January */
svg path[id*="-1-20"][id*="-day-marker"] {
  fill: #6600ffff;
  cursor: pointer;
  fill-opacity: 0; 
}

/* February */
svg path[id*="-2-20"][id*="-day-marker"] {
  fill: #ff00d9;
  cursor: pointer;
  fill-opacity: 0;
}

/* March */
svg path[id*="-3-20"][id*="-day-marker"] {
  fill: #d40000ff;
  cursor: pointer;
  fill-opacity: 0;
}

/* April */
svg path[id*="-4-20"][id*="-day-marker"] {
  fill: #ff6403;
  cursor: pointer;
  fill-opacity: 0;
}

/* May */
svg path[id*="-5-20"][id*="-day-marker"] {
  fill: rgb(255, 128, 1);
  cursor: pointer;
  fill-opacity: 0;
}

/* June */
svg path[id*="-6-20"][id*="-day-marker"] {
  fill: rgb(255, 209, 25);
  cursor: pointer;
  fill-opacity: 0;
}

/* July */
svg path[id*="-7-20"][id*="-day-marker"] {
  fill: rgb(251, 251, 0);
  cursor: pointer;
  fill-opacity: 0;
}

/* August */
svg path[id*="-8-20"][id*="-day-marker"] {
  fill: #c9fa08;
  cursor: pointer;
  fill-opacity: 0;
}

/* September */
svg path[id*="-9-20"][id*="-day-marker"] {
  fill: #00e513ff;
  cursor: pointer;
  fill-opacity: 0;
}

/* October */
svg path[id*="-10-20"][id*="-day-marker"] {
  fill: rgb(0, 230, 169);
  cursor: pointer;
  fill-opacity: 0;
}

/* November */
svg path[id*="-11-20"][id*="-day-marker"] {
  fill: #0cabf5;
  cursor: pointer;
  fill-opacity: 0;
}

/* December */
svg path[id*="-12-20"][id*="-day-marker"] {
  fill: #3d3de9;
  cursor: pointer;
  fill-opacity: 0;
}



/* BASIC COLOR MONTH STYLING */

.january {
  color: #6600ffff;
  fill: #6600ffff;
  opacity:1 !important;
  fill-opacity:1 !important;

}

.february {
  color: #ff00d9;
  fill: #ff00d9;
  opacity:1 !important;
  fill-opacity:1 !important;


}

.march {
  color: #fb0000;
  fill: #fb0000;
  opacity:1 !important;
  fill-opacity:1 !important;
}

.april {
  color: #ff6403;
  fill: #ff6403;
  opacity:1;
  fill-opacity:1;
  opacity:1 !important;
  fill-opacity:1 !important;


}

.may {
  color: rgb(255, 128, 1);
  fill: rgb(255, 128, 1);
  opacity:1 !important;
  opacity:1 !important;
  fill-opacity:1 !important;
}

.june {
  color: rgb(255, 209, 25);
  fill: rgb(255, 209, 25);
  opacity:1;
  opacity:1 !important;
  fill-opacity:1 !important;


}

.july {
  color: rgb(251, 251, 0);
  fill: rgb(251, 251, 0);
  opacity:1;
  opacity:1 !important;
  fill-opacity:1 !important;

}

.august {
  color: #c9fa08;
  fill: #c9fa08;
  opacity:1;
  opacity:1 !important;
  fill-opacity:1 !important;

}

.september {
  color: #00e513ff;
  fill: #00e513ff;
  opacity:1;
  opacity:1 !important;
  fill-opacity:1 !important;

}

.october {
  color: rgb(0, 230, 169);
  fill: rgb(0, 230, 169);
  opacity:1 !important;
  fill-opacity:1 !important;

}

.november {
  color: #0cabf5;
  fill: #0cabf5;
  opacity:1 !important;
  fill-opacity:1 !important;

}

.december {
  color: #3d3de9;
  fill: #3d3de9;
  opacity:1;
  opacity:1 !important;
  fill-opacity:1 !important;

}



.featured-day-event {
  fill-opacity: 1;
}

/*-------------------

Planets Styling and interactivity


-----------------*/

@media (max-width: 768px) {
  [id$="-symbol"] {
    display: none;
  }
}


#neptune_system
 {
  transition: 0.5s;
  cursor: pointer;
}
#neptune_system:hover #neptune-orbit {
  stroke-width: 2px;
  transition: 0.5s;
}

#neptune_system:hover #neptune circle {
  stroke-width: 2px;
  transition: 0.5s;
}



#uranus_system
 {
  transition: 0.5s;
  cursor: pointer;
}

#uranus_system:hover #uranus-orbit {
  stroke-width: 2px;
  transition: 0.5s;
}

#uranus_system:hover #uranus ellipse {
  stroke-width: 2px;
  transition: 0.5s;
}

#saturn_system
 {
  transition: 0.5s;
  cursor: pointer;
}
#saturn_system:hover #saturn-orbit {
  stroke-width: 2px;
  transition: 0.5s;
}

#saturn_system:hover #saturn ellipse {
  stroke-width: 2px;
  transition: 0.5s;
}

#jupiter_system
 {
  transition: 0.5s;
  cursor: pointer;
} 
#jupiter_system:hover #jupiter-orbit {
  stroke-width: 2px;
  transition: 0.5s;
}

#jupiter_system:hover #jupiter ellipse {
  stroke-width: 2px;
  transition: 0.5s;
}

#mars_system
 {
  transition: 0.5s;
  cursor: pointer;
}
#mars_system:hover #mars-orbit {
  stroke-width: 3px;
  transition: 0.5s;
}

#mars_system:hover #mars ellipse {
  stroke-width: 3px;
  transition: 0.5s;
}

#venus_system
 {
  transition: 0.5s;
  cursor: pointer;
}

#venus_system:hover #venus-orbit {
  stroke-width: 4.5px;
  transition: 0.5s;
}

#venus_system:hover #venus circle {
  stroke-width: 4.5px;
  transition: 0.5s;
}

#mercury_system
 {
  transition: 0.5s;
  cursor: pointer;
}

#mercury_system:hover #mercury-orbit {
  stroke-width: 7px;
  transition: 0.5s;
}

#mercury_system:hover #mercury circle {
  stroke-width: 7px;
  transition: 0.5s;
}

#earth_system
 {
  transition: 0.5s;
  cursor: pointer;
}

#earth_system:hover #earth-orbit {
  stroke-width: 3.5px;
  transition: 0.5s;
}

#earth_system:hover #earth circle {
  stroke-width: 3.5px;
  transition: 0.5s;
}


/*-------------------------------

LUNAR MONTH & WEEK STYLING and INTERACTIVITY

----------------------*/




/*Lunar*/
svg path[id*="lunar"] {
  cursor: pointer;
  transition: 0.5s;
}

svg path[id*="lunar"]:hover {
  fill-opacity: 1;
}

/*weekly*/
svg path[id*="week"] {
  cursor: pointer;
  transition: 0.5s;
}

svg path[id*="week"]:hover {
  opacity: 1;
  fill: rgb(70, 70, 70);
}



/*------------------------------

LOADING ANIMATION OF THE PLANETS


-----------------------------*/




#prev-year {
  cursor: pointer;
}

#next-year {
  cursor: pointer;
}

#the_sun,
#mercury_system,
#venus_system,
#earth_system,
#mars_system,
#jupiter_system,
#saturn_system,
#uranus_system,
#neptune_system,
#weeks,
#solar_months,
#all_days,
#day_breakouts
#ray_lines,
#the_year {
  opacity: 0;
  animation-name: fade-in;
  animation-duration: 0.33s;
  animation-fill-mode: forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



#the_sun {
  animation-delay: 0s;
  transition: 0.4s;
}

#mercury_system {
  animation-delay: 0.165s;
  transition: 0.4s;
}

#venus_system {
  animation-delay: 0.33s;
  transition: 0.4s;
}

#earth_system {
  animation-delay: 0.495s;
  transition: 0.4s;
}

#mars_system {
  animation-delay: 0.66s;
  transition: 0.4s;
}

#jupiter_system {
  animation-delay: 0.825s;
  transition: 0.4s;
}

#saturn_system {
  animation-delay: 0.99s;
  transition: 0.4s;
}

#uranus_system {
  animation-delay: 1.155s;
  transition: 0.4s;
}

#neptune_system {
  animation-delay: 1.32s;
  transition: 0.4s;
}

#weeks {
  animation-delay: 1.485s;
  transition: 0.4s;
}

#lunar_months {
  animation-delay: 1.6s;
  transition: 0.4s;
}

#solar_months {
  animation-delay: 1.8s;
  transition: 0.4s;
}

#all_days {
  animation-delay: 1.98s;
  transition: 0.4s;
}

#day_breakouts {
  animation-delay: 1.98s;
  transition: 0.4s;
}

#ray_lines {
  animation-delay: 2.64s;
  animation-duration: 1s;
  transition: 0.4s;
}

#the_year {
  animation-delay: 2.97s;
  transition: 0.4s;
}

#moon-phases {
  opacity: 0;
  animation-name: fade-in2;
  animation-duration: 0.33s;
  animation-fill-mode: forwards;
}

#breakout-days {
  opacity:0;
  animation-delay: 2.97s;
}

@keyframes fade-in2 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.11;
  }
}


#moon-phases {
  animation-delay: 2.97s;
  animation-duration: 2s;
}



/*--------------------------------------


TOOLTIPS AND MODALS


--------------------------------------*/




.tooltip {
  position: absolute;
  z-index: 20;
  color: var(--general-background);
  font-family: 'mulish', sans-serif;
  padding: 8px 20px 8px 20px ;
  font-size: 0.8em;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid var(--general-background); 
  border-radius: 10px;
}

@media screen and (max-width: 700px) {
  .tooltip {
    display: none;  
  }
}




/* The modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 50; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scrolling if needed */
  background-color: var(--modal-background);
}




#day-modal-content {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#day-modal-content.show {
  display: block;
  animation: modal-animation 0.75s ease;
}

/* Animation */
@keyframes modal-animation {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translate(-50%, -50%);
  }
}

/* Close button */
.close {
  display: inline-block;
  /* float: right; */
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


@media screen and (min-width: 769px) and (max-width: 1199px) {
  .modal-message {
    width: 72%;
  }
}

@media screen and (min-width: 1200px) {
  .modal-message {
    width: 65%;
  }
}



#day-search {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
    height: 100%;
  width: 100%;
   transition: 0.5s;

    z-index: 55;
    flex-flow:column;
    justify-content:center;
    padding-bottom: 50px;
    }


/* Modal content box */
.search-modal-content {
  height: fit-content;
  /*background-color: rgba(0, 0, 0, 0.798);
  border: 1px solid var(--months-lunar);*/
  font-family: 'Mulish', sans-serif;
  color: var(--text-color);
  margin: auto;
  display: flex;
  flex-flow: column;

}


#current-date-info {
    font-family: 'Mulish', sans-serif;
    color: var(--text-color);
  }
@media screen and (max-width: 700px) {
    .search-modal-content {
    width: 80%;
}
    #current-date-info {
    max-width: 200px;
    font-size: 1.3em;
  }
}

@media screen and (min-width: 700px) {
  .search-modal-content {
/*  padding: 50px 20px 20px 20px;*/
  width: 50%;
}

/* Loading spinner overlay */
#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

#loading-spinner::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border: 6px solid var(--button-2-1);
    border-top-color: var(--h1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-spinner.hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
    #current-date-info {
    max-width: 500px;
    font-size: 1.45em;
}

}
/*
.search-button {
  z-index: 20;
      text-align: center;
      width: 150px;
      margin: auto;
      background-color: #c0c0c078;
      border-radius: 10px;
      padding: 12px 10px;
      border: none;
      margin-top: 12px;
      cursor: pointer;
      color: var(--general-background);
    display: block;
    font-size: 1.2em;

}*/

/* Close button */
.search-close {
  color: var(--subdued-text);
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin: auto;
  position: fixed;
  right: 0;
  top: 0;
  left: 0;
  width: 30px;
  padding-bottom: 20px;

}

.search-close:hover,
.search-close:focus {
  color: grey;
  text-decoration: none;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}






/*--------------------------------------
GUIDED TOUR---*
--------------------------------------*/



/* The modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 30; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scrolling if needed */
  background-color: var(--modal-background);
}
  
.tour-content {
  text-align: center;
}

@media screen and (max-width: 700px) {
  .tour-content {
    margin: 10% auto 15% auto;
    width: 90%;
  }

}

  @media screen and (min-width: 701px) {
    .tour-content {
      /* margin: 5% auto 15% auto; */
      width: 80%;
      margin:auto;
    }

  }



  .close-tour {
    float: right;
    font-size: 50px;
    font-weight: bold;
    color: #aaa;
    transition: color 0.3s ease;
    position: fixed;
    top: 20px;
    right: 10%;
    z-index: 30;
  }
  
  .close-tour:hover,
  .close-tour:focus {
    color: #04ecfd;
    text-decoration: none;
    cursor: pointer;
  }
  

.close {
  color: var(--subdued-text);
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin: -15px 40px auto auto;
  position: absolute;
  right: 0;
}
.close:hover,
.close:focus {
  color:var(--h1);
  text-decoration: none;
  cursor: pointer;
}
.blur {
  filter: blur(11px);
  pointer-events: none;
}

.dim-blur {
    background-color: var(--top-header);

}

.next {
  background-color: green;
  border: none;
  color: #fff;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px 2px;
  border-radius: 5px;
  cursor: pointer;
}

.next:hover {
  background-color: #0f6a02;
}

.back {
  background-color: rgb(80, 80, 80);
  border: none;
  color: #fff;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px 2px;
  border-radius: 5px;
  cursor: pointer;
}

.back:hover {
  background-color: rgb(50, 50, 50);
}

.modal-description {
  font-family:'Mulish', sans-serif;
  text-align:center;
  color:var(--h1);
  padding:15px;
}
  
.modal-header {
  font-family: 'Mulish', sans-serif;
  color:var(--h1);
  margin-top: 15px;
  font-weight: bolder;
}

#underlayer {transition: 0.5s;}



.tour-image {
  margin: auto; 
  display: flex;
  justify-content: center;
  flex-flow: column;
  flex: 50%;
  opacity: 0.7;
margin: auto;

}

.tour-image img {
  height: inherit;
}


@media screen and (max-width: 700px) {
  
  .tour-image {
    padding: 8px;
    height: 120px;  
  }

  .modal-header {
    font-size:2.3em;
  }
  .modal-description {
    font-size:1.2em;
  }

}

@media screen and (min-width: 700px) and (max-width: 1324px) {
  
  .tour-image {
    padding: 8px;
    height: 200px;  
  }

  .modal-header {
    font-size:2.9em;
  }
  .modal-description {
    font-size:1.5em;
  }

}


@media screen and (min-width: 1325px) {


  .tour-image {
    padding: 28px;
    height: 270px;  
  }

  .modal-header {
    font-size:3.2em;
  }
  .modal-description {
    font-size:1.7em;
  }

}

.java-link {
  cursor:pointer; 
  border-bottom: grey 1px dashed;
}

.java-link:hover {
  cursor:pointer; 
  border-bottom: grey 1px solid;}



  /* Newest
  
  #moon-cycle,*/


 #whale-cycle, #cariboo-cycle, #humming-cycle, #monarch-cycle, #goose-cycle, #saturn-cycle, #jupiter-cycle, #mars-cycle, #venus-cycle, #mercury-cycle {
  display: none;
}



#comet-button  {
    border: none;
    margin:0 10px 20px 10px;
    cursor:pointer;
    height:30px;
    width:30px;
    padding: 8px;
    z-index:30;
    padding-bottom: 25px;
}

#solarsystem-button  {
  border: none; 
  margin:0 10px 15px 10px;
  cursor:pointer;
  height:30px;
  width:30px;
  padding: 8px;
  z-index:30;
}

#moon-button  {
  border: none; 
  margin:0 10px 15px 10px;
  cursor:pointer;
  height:30px;
  width:30px;
  padding: 8px;
  z-index:30;
}

#whale-earthbutton  {
  border: none; 
  margin:0 10px 15px 10px;
  cursor:pointer;
  height:30px;
  width:30px;
  padding: 8px;
  z-index:30;
}


  .totems-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 50;
    padding: 8px;
  }

  .totems-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }

  .totems-icon:hover {
    opacity: 1;
    border-bottom: 2px solid;
    padding-bottom: 4px;
  }

  .totems-icon:active {
    opacity: 1;
    border-bottom: 2px solid;
    padding-bottom: 4px;
  }



  .planet-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 50;
    padding: 8px;
  }

  .planet-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }

  .planet-icon:hover {
    opacity: 1;
    border-right: 2px solid;

  }

  .planet-icon:active {
    opacity: 1;
    border-right: 2px solid;

  }

/*  @media screen and (max-width: 700px) {
  #clock {
    display: none;
  }
}*/


/*---------------------------------

ADD DATE CURTAIN 

---------------------------------*/



#add-datecycle {
  /*background-color: var(--side-overlays) */;
  color:  var(--text-color); /*var(--text-color)*/ ;
  z-index: 56;
}


/* Table of Contents Menu (background) */
.overlay-add-datecycle {
  height: 100%;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 21; /* Sit on top */
  right: 0;
  top: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}


/*Right Close Button*/

.right-close-button {
  position: absolute;
  right: 0;
  transition: 0.3s;
  height: 75px;
  width:75px;
  padding-right: 30px;
  padding-top: 30px;
  right: 0;
  top: 0;
}

/* Position the content inside the overlay */
.add-datecycle-content {
  position: initial;
  text-align: center; /* Centered text/links */
   /*margin-top: 30px; 30px top margin to avoid conflict with the close button on smaller screens */
  font-family: "Mulish", sans-serif;
  /*font-size: smaller;*/
  display: flex;
  justify-content: center;
  flex-flow: column;
  height:100%;  
  margin: auto;
}


@media screen and (max-width: 700px) {
  .add-datecycle-content {
    width: 100%;
    font-size: 0.9em;
    /*margin-top: 6%;*/

}
}

@media screen and (min-width: 700px) and (max-width: 1324px) {
  .add-datecycle-content {
    width: 65%;
    font-size: 0.9em;
    /*margin-top: 2%;*/
}
}

@media screen and (min-width: 1325px) {
    .add-datecycle-content {
      width: 69%;
      margin: auto;
    }
}


#export-hover-box {
  opacity: 0.5;
}

#export-hover-box:hover {
  opacity: 1;
}

#confirm-dateCycle {
  z-index: 20;
  width: 150px;
  margin: auto;
  border-radius: 10px;
  padding: 12px 10px;
  border: none;
  cursor: pointer;
  color: var(--general-background-highlight);
display: block;
font-size: 1.2em;
background-color: var(--button-2-1);
  text-align:center;
  display:none;
  margin-top: 20px;

}

#confirm-dateCycle:hover {
  background-color: var(--button-2-1-over);
  color: var(--h1)

}



.delete-button {
  z-index: 20;
      padding: 20px;
      
      position: relative;
      background-color: #80808078;
      border-radius: 10px;
      padding: 5px 10px;
      border: none;
      cursor: pointer;
      color: var(--general-background);
      float: right;
      margin-top: 7px;
  
}



/* CURRENT DATE DATA BOX */


@media screen and (min-width: 700px) {

.yesterday-tomorrow-arrows {
  top:36px;
  left:207px;
  width:50px;
  display:flex;
  flex-flow:row;
  margin:-5px 0 5px 5px;
}

}

@media screen and (max-width: 699px) {

  .yesterday-tomorrow-arrows {
    top:46px;
    left:140px;
    width:60px;
    display:flex;
    flex-flow:row;
    margin:-5px 0 5px 5px;
  }
  
  }


 
#current-datecycles .date-info {
  margin-top:20px;
  margin-bottom: 0;
  background: var(--grey-trans);
  border-radius: 10px;
  padding: 15px;
  position: relative;
  z-index: 20;
    direction: ltr;
}

#pinned-datecycles .date-info {
  margin-top:20px;
  margin-bottom: 0;
  background: var(--grey-trans);
  border-radius: 10px;
  padding: 15px;
  position: relative;
  z-index: 20;


}

.current-date-info-title {
  font-size: medium;
  margin-bottom: 0;
  margin-right: 25px;
  padding-top: 0;
  max-width: 250px;
}

.current-datecycle-data {
  display: flex;
  flex-flow: row;
  margin-right: 25px;
}

.current-date-calendar-color,
.current-date-calendar,
.current-date-frequency,
div.current-datecycle-data > div {
  font-size: smaller;
  padding: 10px 10px 10px 0;
}

.current-date-calendar-color {
  padding: 10px 0 10px 0;
}

.current-date-frequency {
  text-align: left;
}

.current-date-notes {
  font-size: 0.9em;
  margin-right: 25px;
}

.close-button-datecycle {
cursor: pointer;
font-size: larger;
color: #b2b1b1;
}

.close-button-datecycle:hover {
  color: green;
}

.delete-button-datecycle {
  cursor: pointer;
  font-size: medium;
  color: #b2b1b1;
}

.delete-button-datecycle:hover {
  color: red;
}

.forward-button-datecycle {
  color: #b2b1b1;
  cursor: pointer;
  font-size: larger;
}
 
.forward-button-datecycle:hover {
  color: orange;
}





/*-------------------------------

 REGISTRATION FOOTER CSS


 ---------------------------*/



.registration-footer-holder {
    display: flex;
    flex-flow: column;
    width: 100%;
    min-height: 100%;
    border-top: 1px var( --header-accent) solid;
    background-color: var(--top-header);
}


#registration-footer.showing-login .registration-footer-holder {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}


@media (prefers-color-scheme: dark) {
    #registration-footer.showing-login .registration-footer-holder {
        background-image: url(../webp/earthen-subscription-background-dark.webp);
    }
}


@media (prefers-color-scheme: light) {
    #registration-footer.showing-login .registration-footer-holder {
        background-image: url(../webp/earthen-subscription-background-light.webp);
    }
}





#login-form-section {
    display: none;
    color: black;
    text-align: left;
    padding: 10px;
    margin: auto;
    position: relative;
}

#login-form-section .x-button {
    top: 20px;
    right: 20px;
}


    /*background-image: url(../svgs/cloud-button-back.svg);*/


.reg-top-section {
    display: flex;
    flex-flow: column;
    width:100%;
    height: fit-content;
}





#registration-footer {
    width: 100%;
    height: 25px;
    position: fixed;
    bottom: -14px;
    color: var(--subdued-text);
    text-align: center;
    transition: transform 0.3s ease, height 0.5s ease;
    overflow: scroll;
    z-index: 50;
    display: flex;
    flex-flow: column;
    cursor: pointer;
    overflow-x: hidden;
}

#reg-down-button {
    position: fixed;
    top: 12px;
    align-self: flex-end;
    margin: 12px 12px 0 0;
    z-index: 60;
}

#reg-up-button {
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 100px;
    bottom: 3px;
    position: fixed;
    left: 0;
    transition: transform 0.3s ease;
    z-index: 52;
}
/* 1) Make the wrapper itself ignore all mouse events */
/* Base state – collapsed */
#registration-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    touch-action: none;
    pointer-events: none;
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

/* Expanded: fully slid up */
#registration-container.expanded {
    transform: translateY(0);
    height: 95vh;
}

/* Allow pointer events only when expanded */
#registration-container.expanded > #registration-footer,
#registration-container.expanded > #reg-up-button {
    pointer-events: auto;
}



/* 2) Re-enable events on just your two children */
#registration-container > #reg-up-button,
#registration-container > #registration-footer {
    pointer-events: auto;
    transition: transform 0.2s ease;
}

/* 3) When the container has the “hover” class, slide both up */
#registration-container.hover > #reg-up-button,
#registration-container.hover > #registration-footer {
    transform: translateY(-5px);
}

.offline-sync-indicator {
    margin: 4px auto 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--subdued-text, #6b7280);
}

/* 4) When dragged, cancel smooth animation */
#registration-container.grabbed {
    transition: none !important;
}

/* 5) Fully hide the registration modal */
#registration-container.hidden {
    transform: translateY(100%);
}


#registration-container.collapsing {
    pointer-events: none;       /* Prevent accidental taps/clicks during animation */
    overflow: hidden;           /* Prevent scroll bars or layout shifts */
    opacity: 0.97;              /* Slight visual feedback that it's animating */
    backdrop-filter: blur(1px); /* Optional: slight blur for motion effect */
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}


/* Responsive styling */

@media screen and (max-width: 699px) {
    #reg-up-button {
        margin: 0px -20px 6px auto;
        height: 30px;
    }

}

@media screen and (min-width: 701px) and (max-width: 1200px) {
    #reg-up-button {
        width: 25%;
        height: 38px;
        margin-bottom: 5px;
    }

}

@media screen and (min-width: 1201px) {
    #reg-up-button {
        margin: 0px auto 6px 30px;
        width: 25%;
        height: 40px;
    }

}


/*-----------------------------------------

INFO MODAL

--------------------------------------*/

#form-modal-message {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  background-color: var(--top-header);
  justify-content: center; 
  align-items: center; 
  z-index: 53; /*was 15*/
  }

.modal-content-box {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90vh; /* Restrict the modal height to 90% of the viewport */
    min-width: 70%;
    color: var(--h1);
    font-family: 'Mulish', sans-serif;
    display: flex;
    margin: auto auto auto auto;;
    overflow-y: auto; /* Enable vertical scrolling */
    height: 100%;
}

  
  .modal-message {
    margin: auto;

  }
  
  .modal-content-box .x-button {
    margin-right: 8%;
  }
  
  .modal-hidden {
      display: none;
  }
  
  .modal-shown {
      display: flex;
  }


  /*..............................................

     FORM FORMATTING


     ......................................*/

#modal-content-box.subscription-modal-background {
  background-image: url(../webp/earthen-subscription-background-dark.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.ec-subscription-modal {
  width: 100%;
  padding: 10px 5%;
  box-sizing: border-box;
  color: var(--h1);
}

.ec-subscription-modal h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin-bottom: 10px;
  text-align: center;
}

.ec-subscription-modal p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 16px auto;
  max-width: 720px;
  text-align: center;
}

.ec-loading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 16px auto;
  max-width: 720px;
  color: var(--p);
}

.ec-loading-spinner {
  width: 32px;
  height: 32px;
}

.ec-plan-status-line {
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-align: center;
  color: var(--p);
}

.ec-plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
}

.ec-plan-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 0 20px;
  color: var(--general-background-highlight);
}

.ec-plan-table tbody tr td {
  background: rgba(0, 0, 0, 0.25);
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.ec-plan-table tbody tr td:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.ec-plan-table tbody tr td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.ec-plan-table tbody tr.current-plan td {
  border-color: rgba(34, 197, 94, 0.75);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.ec-plan-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ec-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.15);
  color: #34d399;
  padding: 4px 10px;
  border-radius: 999px;
}

.ec-plan-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--p);
}

.ec-plan-price {
  font-weight: 700;
  font-size: 1.05rem;
}

.ec-plan-interval {
  font-size: 0.85rem;
  color: var(--p);
  margin-top: 4px;
}

.ec-plan-current-label {
  font-size: 1rem;
  margin: 8px auto 18px auto;
  max-width: 720px;
  text-align: center;
  color: #16a34a;
  display: block;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid #22c55e;
}

.ec-plan-toggle {
  --toggle-count: 3;
  --toggle-index: 0;
  display: grid;
  grid-template-columns: repeat(var(--toggle-count), minmax(0, 1fr));
  position: relative;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  width: min(360px, 90%);
  margin: 24px auto 32px auto;
  backdrop-filter: blur(6px);
  font-family: "Mulish", sans-serif;
}

@media (prefers-color-scheme: dark) {
  .ec-plan-toggle {
    background: rgba(255, 255, 255, 0.1);
  }
}

.ec-plan-toggle .ec-toggle-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / var(--toggle-count));
  border-radius: 999px;
  background: var(--emblem-green, #22c55e);
  transform: translateX(calc(var(--toggle-index) * 100%));
  transition: transform 0.3s ease, background-color 0.2s ease;
  will-change: transform;
}

.ec-plan-toggle:hover .ec-toggle-indicator,
.ec-plan-toggle:focus-within .ec-toggle-indicator {
  background: var(--emblem-green-hover, var(--emblem-green-over, var(--emblem-green, #16a34a)));
}

.ec-toggle-option {
  position: relative;
  border: none;
  background: transparent;
  color: var(--h1);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 1;
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: none;
  appearance: none;
}

.ec-toggle-option.active {
  color: var(--side-overlays, #0b1120);
}

.ec-plan-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 auto;
  width: min(960px, 100%);
}

@media screen and (min-width: 768px) {
  .ec-plan-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ec-plan-card {
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  backdrop-filter: blur(6px);
}

.ec-plan-card.current-plan {
  border-color: var(--emblem-green, rgba(34, 197, 94, 0.85));
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.ec-plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ec-plan-card h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  margin: 0;
  color: var(--h1);
}

.ec-plan-status-pill {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--emblem-green, rgba(34, 197, 94, 0.85));
  color: var(--emblem-green, rgba(34, 197, 94, 0.85));
  background: rgba(34, 197, 94, 0.12);
  white-space: nowrap;
}

.ec-plan-card .ec-plan-price {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: var(--h1);
}

.ec-plan-card .ec-plan-interval {
  text-align: left;
}

.ec-plan-feature-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  color: var(--p);
}

.ec-plan-feature-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.ec-plan-feature-list--checks {
  list-style: none;
  padding-left: 0;
}

.ec-plan-feature-list--checks li {
  position: relative;
  padding-left: 28px;
}

.ec-plan-feature-list--checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  background-image: url("../assets/icons/green-check.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ec-plan-actions {
  margin: 32px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

.ec-plan-actions .confirmation-blur-button,
.ec-plan-actions .ec-coupon-toggle {
  width: 100%;
  min-width: 180px;
}

.ec-coupon-area {
  margin: 4px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

.ec-coupon-toggle {
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid var(--emblem-green);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background-color: transparent;
  color: var(--emblem-green);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  font-family: "Mulish", sans-serif;
}

.ec-coupon-toggle:hover,
.ec-coupon-toggle:focus {
  background-color: rgba(22, 163, 74, 0.18);
  color: #000000;
  outline: none;
}

.ec-coupon-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ec-coupon-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ec-coupon-form[hidden] {
  display: none !important;
}

  .ec-coupon-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p);
  }

  .ec-coupon-input-wrapper {
  width: 100%;
  max-width: 220px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  z-index: 0;
  }

  .ec-coupon-input-wrapper::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.55) 0%, rgba(250, 204, 21, 0.5) 35%, rgba(96, 165, 250, 0.45) 65%, rgba(34, 197, 94, 0.4) 80%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: scale(0.35);
  transform-origin: center;
  pointer-events: none;
  z-index: 0;
  }

  .ec-coupon-input-wrapper.celebrate-animation::after {
  animation: couponCelebrate 0.5s ease-out forwards;
  }

  .ec-coupon-success {
  width: 100%;
  max-width: 220px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--h1);
  background-color: rgba(255, 255, 255, 0.78);
  text-align: center;
  }

  .ec-coupon-success::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.55) 0%, rgba(250, 204, 21, 0.5) 35%, rgba(96, 165, 250, 0.45) 65%, rgba(34, 197, 94, 0.4) 80%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: scale(0.35);
  transform-origin: center;
  pointer-events: none;
  z-index: -1;
  }

  .ec-coupon-success.celebrate-animation::after {
  animation: couponCelebrate 0.5s ease-out forwards;
  }

@media (prefers-color-scheme: dark) {
  .ec-coupon-success {
    color: var(--h1);
    background-color: rgba(15, 23, 42, 0.65);
  }
}

  .ec-coupon-input {
  width: 100%;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(15, 23, 42, 0.25);
  color: var(--h1);
  text-align: center;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  position: relative;
  z-index: 1;
  }

  .ec-coupon-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  }

  .ec-coupon-input:focus {
  outline: 2px solid #4b5563;
  outline-offset: 2px;
  }

  .ec-coupon-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  }

  .ec-coupon-submit,
  .ec-coupon-cancel {
  flex: 1 1 140px;
  min-width: 140px;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-family: "Mulish", sans-serif;
  }

  .ec-coupon-submit {
  background-color: #4b5563;
  color: #ffffff;
  }

  .ec-coupon-submit:hover,
  .ec-coupon-submit:focus {
  background-color: #f3f4f6;
  color: #000000;
  outline: none;
  }

  .ec-coupon-submit:disabled {
  background-color: #6b7280;
  cursor: not-allowed;
  transform: none;
  }

  .ec-coupon-cancel {
  background-color: rgba(148, 163, 184, 0.2);
  color: var(--p);
  }

  .ec-coupon-cancel:hover,
  .ec-coupon-cancel:focus {
  background-color: rgba(148, 163, 184, 0.35);
  outline: none;
  }

  .ec-coupon-feedback {
  min-height: 1.2rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--p);
  }

  .ec-downgrade-footer {
  margin: 32px auto 0 auto;
  text-align: center;
  }

  .ec-downgrade-link {
  display: inline-block;
  font-size: 0.9rem;
  color: #15803d;
  text-decoration: none;
  }

  .ec-downgrade-link:hover,
  .ec-downgrade-link:focus {
    color: #dc2626;
    text-decoration: underline;
    outline: none;
  }

@media screen and (max-width: 768px) {
  .ec-subscription-modal {
    padding: 10px;
  }

  .ec-plan-table thead {
    display: none;
  }

  .ec-plan-table,
  .ec-plan-table tbody,
  .ec-plan-table tr,
  .ec-plan-table td {
    display: block;
    width: 100%;
  }

  .ec-plan-table tbody tr {
    margin-bottom: 18px;
  }

  .ec-plan-table tbody tr td {
    border-radius: 16px !important;
  }

  .ec-plan-table tbody tr td + td {
    margin-top: 8px;
  }

  .ec-plan-name {
    justify-content: space-between;
  }
}

.blur-form-field {
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: var(--form-field-background);
  color: var(--form-field-text);
  /*margin: 10px auto 10px auto;*/
  font-size: large;
  cursor: pointer;

  }


.confirmation-blur-button {
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: larger;
    background-color: var(--form-conf-background);
    color: var(--form-conf-text);
    margin: 1px auto 0px auto;
    cursor: pointer;

    width: 100%;
    }


  .confirmation-blur-button:hover {
  background-color: var(--form-conf-background-over);
  }

.confirmation-blur-button.greenback {
  background-color: var(--emblem-green);
  color: #f7f9fb;
}

.confirmation-blur-button.greenback:hover {
  background-color: var(--emblem-green-over);
}


.ec-form-title {
    width: 85%;
    margin: 20px auto;
    text-align: center;
}


.ec-moon-phase {
    width: fit-content;
    max-width: 300px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 18px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.ec-moon-phase-emoji {
    font-size: 2.4rem;
    line-height: 1;
}

.ec-moon-phase-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.25;
    max-width: min(300px, 100%);
}

.ec-moon-phase-name {
    font-weight: 600;
    font-size: 0.9em;
}

.ec-moon-phase-metric {
    font-size: 0.76em;
    color: var(--subdued-text);
}

.ec-moon-phase-metric + .ec-moon-phase-metric {
    margin-top: 2px;
}

#modal-content .add-date-form,
#modal-content .ec-add-form {
    position: relative;
    padding: 120px 24px 32px;
    margin: auto;
    box-sizing: border-box;
}

#modal-content .add-date-form .ec-form-title,
#modal-content .ec-add-form .ec-form-title {
    margin-top: 0;
}

#modal-content .add-date-form .ec-moon-phase,
#modal-content .ec-add-form .ec-moon-phase {
    position: fixed;
    top: 16px;
    left: 16px;
    margin: 0;
    z-index: 75;
    max-width: 222px;
}

#modal-content .add-date-form .ec-moon-phase-details,
#modal-content .ec-add-form .ec-moon-phase-details {
    max-width: min(260px, 100%);
}

#ec-public-cal-overlay {
    font-family: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

#ec-public-cal-overlay .ec-public-cal-overlay-content {
    width: min(720px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background: var(--general-background);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    overflow-y: auto;
}

#ec-public-cal-overlay .cal-row-name {
    text-align: left;
}

#ec-public-cal-overlay .ec-public-cal-checkbox span {
    font-size: 0.65em;
}

#ec-public-cal-overlay .ec-public-cal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#ec-public-cal-overlay .ec-public-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

#ec-public-cal-overlay .ec-public-page-status {
    flex: 1;
    text-align: center;
    color: var(--subdued-text);
    font-size: 0.9rem;
}

.ec-public-nav-link {
    background: none;
    border: none;
    color: var(--link-color, var(--accent-color, #2563eb));
    padding: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.ec-public-nav-link[disabled] {
    color: var(--subdued-text);
    cursor: default;
    text-decoration: none;
}

.ec-form-field {
    width: 70%;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ec-kind-fields {
    width: 100%;
}

.ec-event-date-row {
    flex-direction: column;
    gap: 8px;
}

.ec-event-date-row .ec-datetime-inputs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ec-event-date-row .ec-datetime-inputs > * {
    flex: 1 1 160px;
    min-width: 0;
}

.ec-journal-timing-row,
.ec-journal-mood-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.ec-journal-timing-row .ec-inline-field,
.ec-journal-mood-row .ec-inline-field {
    flex: 1 1 160px;
    min-width: 0;
}

.ec-datetime-inputs {
    display: flex;
    gap: 8px;
}

.ec-datetime-input-with-label {
    position: relative;
    width: 100%;
}

.ec-datetime-input-with-label label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--subdued-text, #64748b);
    pointer-events: none;
    background: var(--general-background);
    padding-right: 8px;
}

.ec-datetime-input-with-label input {
    width: 100%;
    padding-left: 72px;
}

.ec-datetime-inputs input,
.ec-event-date-row input,
.ec-event-date-row select,
.ec-journal-timing-row input,
.ec-journal-mood-row select {
    width: 100%;
}

.ec-event-url-field.is-hidden {
    display: none;
}

.ec-event-options-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.ec-event-action-row,
.ec-journal-action-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.ec-event-action-row .date-action-buttons,
.ec-journal-action-row .date-action-buttons {
    margin-left: auto;
}

.ec-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    cursor: pointer;
}

.ec-checkbox input {
    width: 18px;
    height: 18px;
}

.ec-title-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.ec-title-row #ec-title {
    margin: 0;
}

.ec-notes-toggle-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid var(--button-2-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--general-background);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;

}

.ec-notes-toggle-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: var(--form-field-background);
    pointer-events: none;
    transition: background 0.2s ease;
}

.ec-notes-toggle-thumb {
    position: absolute;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--button-2-1);
    transition: top 0.2s ease, transform 0.2s ease;
}

.ec-notes-toggle-button.is-open .ec-notes-toggle-thumb,
.ec-notes-toggle-thumb.is-open {
    top: calc(100% - 6px - 10px);
}

.ec-notes-toggle-button:hover {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.ec-notes-toggle-button:focus-visible {
    outline: 2px solid var(--button-2-1);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.ec-notes-toggle-button.is-open .ec-notes-toggle-track,
.ec-notes-toggle-track.is-open {
    background: var(--general-background);
}

.ec-link-toggle-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid var(--button-2-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--general-background);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-size: 1rem;
    flex-shrink: 0;
}

.ec-link-toggle-button:hover {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.ec-link-toggle-button:focus-visible {
    outline: 2px solid var(--button-2-1);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.ec-link-toggle-button.is-active {
    background: var(--form-field-background);
}

.ec-notes-field {
    overflow: visible;
}

.ec-notes-collapsible {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.ec-notes-collapsible.is-open {
    opacity: 1;
}

#ec-notes {
    margin: 10px 0 0 0;
}

.ec-frequency-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.ec-frequency-select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    max-width: 100%;
}

.ec-frequency-row .blur-form-field {
    margin: 0;
}

.date-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 124px;
    width: 124px;
}

.date-action-buttons .ec-inline-field,
.ec-frequency-row .ec-inline-field {
    flex: 0 0 auto;
}

.ec-frequency-row .ec-inline-field.ec-emoji-field {
    gap: 8px;
}

.ec-color-input {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    cursor: pointer;
    border-radius: 15px;
    margin: 0;
    border: 2px solid var(--button-2-1)
}

.ec-form-inline {
    width: 70%;
    margin: 10px auto 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ec-inline-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
}

.ec-inline-field.ec-pin-field,
.ec-inline-field.ec-color-field {
    flex: 0 0 auto;
    /*min-width: 52px;*/
}

.ec-inline-field.ec-emoji-field {
    gap: 8px;
}

.ec-inline-field.ec-emoji-field .ec-emoji-input {
    flex-shrink: 0;
}

.ec-inline-label {
    font-weight: 500;
}

.ec-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ec-emoji-input {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 15px;
    overflow: hidden;
}

.ec-emoji-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 15px;
    background:var(--general-background);
}

.ec-emoji-button .ec-emoji-button-label {
    flex: 1;
    text-align: left;
}

.ec-emoji-preview {
    font-size: 1.6rem;
    line-height: 1;
}

.ec-emoji-selector {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.35);
    z-index: 60;
}

.ec-emoji-selector--visible {
    display: flex;
}

.ec-emoji-selector-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(420px, 100%);
    max-height: min(360px, 80vh);
    background: var(--general-background, rgba(12, 16, 19, 0.95));
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    padding: 20px;
}

.ec-emoji-selector-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    color: var(--text-color, #fff);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.ec-emoji-selector-close:hover,
.ec-emoji-selector-close:focus {
    color: var(--subdued-text, #d1d5db);
    outline: none;
}

.ec-emoji-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 8px;
    overflow-y: auto;
    padding-right: 4px;
}

.ec-emoji-option {
    border: none;
    background: transparent;
    font-size: 1.35rem;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.1s ease;
}

.ec-emoji-option:hover,
.ec-emoji-option:focus {
    background: var(--form-field-background);
    outline: none;
    transform: translateY(-1px);
}

.ec-form-actions {
    width: 70%;
    margin: 25px auto 0 auto;
    display: flex;
    justify-content: center;
}







@media screen and (max-width: 768px) {

  .blur-form-field {
  width:100%;
  box-sizing:border-box;
  }

  .confirmation-blur-button {
      width: 100%;

  }

  .ec-form-field,
  .ec-form-inline,
  .ec-form-actions {
      width: 100%;
      max-width: 100%;
  }

  .ec-form-inline {
      justify-content: flex-start;
  }

  .ec-inline-field {
      min-width: 0;
  }

  #modal-content .add-date-form,
  #modal-content .ec-add-form {
      padding: 140px 16px 24px;
  }

  #modal-content .add-date-form .ec-moon-phase,
  #modal-content .ec-add-form .ec-moon-phase {
      left: 16px;
      right: 16px;
      width: auto;
  }
}

    @media screen and (min-width: 700px) {
  
  /*.blur-form-field {*/
  /*width:300px;*/
  /*}*/

  .confirmation-blur-button {
      max-width: 500px;
        width: 100%;
  }
  }


  /* ---------------------------------------------

  BREAK OUT FORMATING


  /* -----------------------------------------------


/* Targets any div whose id contains 'day-breakouts' */
svg g[id*="day-breakout"] {
    cursor: pointer; /* Changes cursor to pointer */
    transition: opacity 1s ease-out;
}

/* Changes the opacity when hovering over the div */
svg g[id*="day-breakout"]:hover {
    opacity: 1;

}

/* Changes the opacity back to 1 when the div is clicked */
svg g[id*="day-breakout"]:active {
    opacity: 0.7;
}

svg g[id*="breakout-close"]:hover {
  cursor: pointer;
  opacity: 1;
}



svg path[id*="break_out"] {
    fill: var(--general-background) !important;
    transition: opacity 0.2s ease-out;
}

svg text[id*="break_out"] tspan[id*="tspan"] {
    fill: var(--general-background);
}



/*

svg path #may:hover {
  fill-opacity:1;
}

svg path #june:hover {
  fill-opacity:1;
}

#may-intentions {
  display:none;
  opacity:0;
  transition: opacity 0.6s;
}

#break_out_arrow_left {
  fill: var(--general-background);
}


#break_out_arrow_left_button:hover  {
  cursor:pointer;
  opacity: 1;

}

#break_out_arrow_right {
  fill: var(--general-background);
}


#break_out_arrow_right_button:hover {
  cursor:pointer;
  opacity: 1;

}*/



.active-break {
  opacity: 1;
  filter: invert(1);
}

.active-month {
  opacity: 1 !important;
}



[id$="solar_show-button"] {
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
  opacity: 0.6; /* Set initial opacity if needed */
}

[id$="solar_show-button"]:hover {
  opacity: 1; /* Change opacity to 100% on hover */
}

[id$="lunar_show-button"] {
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
  opacity: 0.6; /* Set initial opacity if needed */
}

[id$="lunar_show-button"]:hover {
  opacity: 1; /* Change opacity to 100% on hover */
}


.top-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(var(--general-background), var(--transparent));
    z-index: 22;
}

.bottom-gradient-overlay {

        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background: linear-gradient(var(--transparent), var(--general-background));
        z-index: 22;
        }



@media screen and (min-width: 660px) {
    .top-gradient-overlay {
        display: none;
    }


    .bottom-gradient-overlay {
        display: none;
    }


}

/*@media screen and (max-width: 769px) {*/
/*    #user-timezone-lang {*/
/*        margin-right: -55px;*/
/*    }*/

/*    #current-datecycle-count {*/
/*        margin-top: 15px;*/
/*    }*/
/*}*/
/* SYNCING  */

/* General Sync Button Styling */
.sync-style, .stellar-submit {
    position: relative;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-size: larger;
    background-color: var(--button-2-1);
    color: var(--top-header);
    margin: 1px auto 0 auto;
    cursor: pointer;
}

.stellar-submit {
    width: 100%;
}

/* Loading State for Sync Buttons */
.sync-style.loading, .stellar-submit.loading {
    pointer-events: none; /* Disable button clicks during sync */
    background-color: grey;
}

.sync-style.loading::before, .stellar-submit.loading::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 3px solid white;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover Effect */
.sync-style:hover, .stellar-submit:hover {
    background-color: var(--button-2-1-over);

}




@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.slide-out-right {
    animation: slideOutRight 0.4s forwards;
}


@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out forwards;
}


.date-info {
    position: relative; /* Ensure child elements are positioned relative to this */
    overflow: hidden;  /* Keeps the explosion effect within the boundaries */
}




.date-info.celebrate-animation::after {
    content: "";
    position: absolute;
    top: 70%;
    left: 90%;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, green, blue, violet, red, orange, yellow);
    border-radius: 50%;
    opacity: 1;
    transform: scale(0);
    transform-origin: center;
    animation: expandCelebration 0.5s ease-out forwards;
    z-index: 5;
}

@keyframes expandCelebration {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(30);  /* Adjusted for better visibility */
        opacity: 0;
    }
}

@keyframes couponCelebrate {
    0% {
        opacity: 0.9;
        transform: scale(0.35);
    }
    60% {
        opacity: 0.35;
    }
    100% {
        opacity: 0;
        transform: scale(3.2);
    }
}


#eye-icon {
    width: 28.5px;
    height: 18.75px;
    cursor: pointer;
    margin-left: 0;
    flex-shrink: 0;
    justify-self: end;
}

#date-cycle-count-box {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translate(-50%, -12px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 10px;
    background: var(--date-controls);
    border-radius: 999px;
    padding: 8px 18px 8px 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 50;
}

#date-cycle-count-box.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

@media screen and (max-width: 700px) {
    #date-cycle-count-box,
    #date-cycle-count-box.show {
        display: none !important;
    }
}

#current-datecycle-count {
    font-size: 0.88em;
    font-family: 'Mulish';
    color: var(--subdued-text);
    text-align: center;
    cursor: default;
    max-width: 260px;
    justify-self: center;
}

#close-datecycle-notice {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 32px;
    height: 26px;
    padding: 0 6px 0 4px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--subdued-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

#close-datecycle-notice::before {
    content: "×";
    display: block;
}

#close-datecycle-notice:hover,
#close-datecycle-notice:focus-visible {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-color, #000000);
    outline: none;
}

#close-datecycle-notice:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.18);
}

#time-controller {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 8px 16px;
    background: var(--date-controls);
    border-radius: 20px;
    width: 100%;
    max-width: 207px;
    margin-left: auto;
    margin-top: -10px;
}

#time-controller > div {
    flex: 0 0 auto;
}

.time-controls-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.event-toggle-wrapper {
    display: flex;
    align-items: center;
}

#bottom-left-buttons {
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 0;
    left: auto;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    width: fit-content;
    background: var(--general-background);
    padding: 16px 25px;
    border-radius: 5px;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#bottom-left-buttons button {
    margin: 0;
}

.cycle-toggle {
    margin-bottom: 0;
}


#planet-buttons,
#kin-buttons {
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

@media screen and (max-width: 700px) {
    #bottom-left-buttons {
        bottom: 10px;
        right: 0;
        left: auto;
        gap: 10px;
        padding: 14px 25px;
        border-radius: 5px;
    }
    #top-left-buttons {
        margin-left: 3px !important;
    }
}


.buwana-word-mark {
    background: url('../svgs/b-logo.svg') center no-repeat;
    background-size: contain;
    height: 22px;
    width: 177px;
    margin: auto;
    margin-top: 5px;

}




.login-button {
    border: 1px solid var(--button-2-1);
    width:100%;
    padding: 10px;
    border-radius: 10px;
    font-size: larger;
    background-color: var(--button-2-1-over);
    color: white;
    margin: 1px auto 10px auto;
    cursor: pointer;

}


.login-button:hover {

    background-color: var(--button-2-1);



}



.signup-button {
    border: 1px solid var(--emblem-green-over);
    width:100%;
    padding: 10px;
    border-radius: 10px;
    font-size: larger;
    background-color: var(--emblem-green);
    color: white;
    margin: 1px auto 50px auto;
    cursor: pointer;

}


.signup-button:hover {

    background-color: var(--emblem-green-over);



}


@media screen and (max-width: 700px) {
#dateCycleForm {
    margin-bottom: auto;
    margin-top: 100px;
}
}
/* Toggle rows in settings */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 10px;
    margin: 10px auto;
    background: var(--general-background);
    border-radius: 15px;
    height: 38px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 68px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Generic slider knob used for settings toggles */
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--toggle-bg, #b7bbbd);
    transition: 0.4s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--toggle-knob-bg, #fff);
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--toggle-bg-active, #4e5255);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(38px);
}

/* Clock toggle icon styles */
.toggle-slider.clock-toggle-slider:before {
    background: var(--toggle-knob-bg, #fff) url('../assets/icons/clock-off.svg') center/22px no-repeat;
}

.toggle-switch input:checked + .toggle-slider.clock-toggle-slider:before {
    background: var(--toggle-knob-bg, #fff) url('../assets/icons/clock-on.svg') center/22px no-repeat;
}

/* Orbit toggle icon styles */
.toggle-slider.orbit-toggle-slider:before {
    background: var(--toggle-knob-bg, #fff) url('../assets/icons/orbit-off.svg') center/22px no-repeat;
}

.toggle-switch input:checked + .toggle-slider.orbit-toggle-slider:before {
    background: var(--toggle-knob-bg, #fff) url('../assets/icons/orbit-on.svg') center/22px no-repeat;
}
