@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;500;600;700;800;900&display=swap');


/* Light mode variables */
:root {
    --background-white: #fff;
    --background-black: #000;
    --background-black-fade: #00000080;
    --input-background: #edeef0;
    --box-shadow: 0 0 #0000;
    --box-shadow-header:  0 1px 1px rgba(0,0,0,0.1);
    --light-grey: #fbfcfd;
    --light-grey2: #f6f6f6;
    --medium-grey: #ddd;
    --medium-grey3: #d2d2d2;
    --medium-grey2: #eee;
    --dark-fade: #34383833;
    --dark-grey:#7e7e7e;
    --dark-grey2: #343838;
    --dark-grey3: #393939;
    --border-grey: #d1d1d1;
    --border-grey2:  #e4e0e0;
    --border-grey3:  #d8d5d5;
    --border-fade: rgba(0, 0, 0, 0.24);
    --text-dark: #464646;
    --product-title: #cccccc;
    --product: rgba(0, 0, 0, 0.24);
    --icon-opacity: 0.4;
    --icon-filter: invert(0%);
    --circle-fill: white!important;
    --planet-glyph:  #494949 !important;
    --zodiac-shadow: drop-shadow(1px 1px 4px rgba(0,0,0,0.1));
    --zodiac-stroke: #000 !important;

}

/* Dark mode variables */
[data-theme='dark'] {
    --background-white: #1a1a1a;
    --background-black: #d7d6d1;
    --background-black-fade: #FFFFFF33;
    --input-background: #333333;
    --box-shadow: 0 0 #202020;
    --box-shadow-header: 0 1px 1px rgba(255,255,255,0.1);
    --light-grey: #121212;
    --light-grey2: #383838;
    --medium-grey: #202020;
    --medium-grey2: #282828;
    --medium-grey3: #bcbcbc;
    --dark-fade: #A0A0A033;
    --dark-grey: #B8B8B8;
    --dark-grey2: #ACACAC;
    --dark-grey3: #A0A0A0;
    --border-grey: #333333;
    --border-grey2: #5c5950;
    --border-grey3: #404040;
    --border-fade: rgba(255, 255, 255, 0.24);
    --text-dark: #CCCCCC;
    --product-title: #757575;
    --product: rgba(255, 255, 255, 0.24);
    --icon-opacity: 0.8;
    --icon-filter: invert(100%);
    --circle-fill: none!important;
    --planet-glyph: #b6b3a3!important;
    --zodiac-shadow: drop-shadow(1px 1px 4px rgba(255, 255, 255, 0.1));
    --zodiac-stroke: #b5b19e!important;
}



body {
    font-family: 'Poppins', Arial, sans-serif;
    text-align: center;
    margin: 0px;
    display: flex;
    flex-direction: column;
    background: var(--light-grey);
}

button {
    padding: 7px 6px;
    font-size: 12px;
    font-family: 'poppins';
    font-weight: 300;
    border-radius: 6px;
    border: 1px solid;
    border-color: var(--border-grey2);
    color: var(--text-dark);
    cursor: pointer;
}



button.submit {
    width: 90%;
    font-size: 15px;
    margin-top: 10px;
    background: var(--background-white);
    border-radius: 8px;
    cursor: pointer;
    padding: 12px;
}


button.dark {
background: var(--background-black);
color: var(--background-white);
}

button.light {
    background: var(--background-white);
    color: var(--background-black);
    }

.accordion {

}

.accordion button {

}

header {
    
  top: 0;
  left: 0;
  width: 100%;
  background: var(--background-white); /* Assuming a white background */
  z-index: 10; /* Ensure the header is above other content */
  box-shadow: var(--box-shadow-header); /* Optional: Adds shadow for better visibility */
  position: fixed;
}

#shareChartBtn {
    background: var(--background-white);
    padding: 1px;
    border: 1px solid var(--border-grey2);
}

#shareChartBtn::after {

    content: '';
    display: inline-block;
    width: 16px;
    height: 20px;
    background-image: url(svg/share.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0px 8px;
    transition: transform 0.3s ease;
    opacity: var(--icon-opacity);
    filter: var(--icon-filter);
}

#newChartBtn {
    display: flex;
    align-items: center;
}

#newChartBtn::before {content: '';display: inline-block;width: 16px;height: 16px;background-image: url(svg/plus.svg);background-size: contain;background-repeat: no-repeat;margin: 0px 3px;transition: transform 0.3s ease; opacity: var(--icon-opacity); filter:var(--icon-filter);}

nav {
    display: flex;
    flex-flow: row;
    flex-direction: row-reverse;
    gap: 8px;
    align-items: baseline;
    
    display: flex;
  justify-content: flex-end; /* Aligns items to the end of the flex container (right side) */
  align-items: center; /* Vertically centers items */
  height: 50px; /* Adjust as needed */
  
}

main {
    margin-top: 50px;
}
.toolbar-buttons {
    display: flex;
    justify-content: space-evenly;
    flex-grow: 1;
    gap: 6px;
    padding-left: 147px;
}

.toolbar-background {
    background-color: var(--background-white)
}

#showRegisterModalBtn {
    display: none;
}

#tokenCount {
    height: 30px;
}
#tokenCount::before{
    font-size: 24px;
    line-height: 0.5em;
    content: '';
    display: inline-block;
    position: relative;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url(svg/coin5.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    transition: transform 0.3s ease;
    opacity: var(--icon-opacity);
    filter: var(--icon-filter)
}

#tokenCounter {
    /* background-color: #f4f4f4; */
    border: 1px solid;
    border-color: var(--border-grey2);
    padding: 0px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 14px;
    font-weight: 300;
    font-family: 'poppins';
    color: var(--dark-grey);
}


/* Loading Screen Styles */
#loadingScreen {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-white); /* Semi-transparent white background */
    z-index: 1000; /* Ensure it's above other elements */
}

#loadingScreen img {
    margin-top: 270px;
    width: 200px; /* Adjust size as needed */
    height: auto;
    animation: spin 8s linear infinite;
}

/* Keyframes for spinning effect */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



#mainPage {
    scroll-behavior: smooth;
    height: 100vh;
    font-size: 16px;
    padding-top: 6px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: aliceblue; */
}

#readingContentWrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    transition: all 0.3s ease-in-out; /* Smooth transition for showing/hiding the wrapper */
  }

 

  /* Initially hide the reading content and sidebar */
#readingContentWrapper {
    display: none;
  }
  
  /* Show the reading content and sidebar when they have content */
  #readingContentWrapper.active {
    display: flex;
  }

  

#inputContainer {
    display: inline-block;
    width: 340px;
    position: relative;
}

.magi-place-suggestions {
    width: calc(90% + 20px);
    margin: -4px auto 10px;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border-grey2);
    background: var(--input-background);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    position: relative;
    z-index: 50;
}

.magi-place-suggestions[hidden] {
    display: none;
}

.magi-place-suggestion {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: var(--background-black);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.35;
    padding: 11px 14px;
    text-align: left;
}

.magi-place-suggestion:last-child {
    border-bottom: 0;
}

.magi-place-suggestion:active,
.magi-place-suggestion:hover,
.magi-place-suggestion:focus {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

    .inputStyle {
        width: 90%;
        margin: 10px 0;
        position: relative;
        border-radius: 8px;
        background: var(--input-background);
        border: none;
        font-size: 17px;
        padding-top: 14.5px;
        padding-bottom: 14.5px;
        padding-left: 10px; 
        padding-right: 10px;
        color: var(--background-black);
    }

    .dateTimeInput {
        width: 45%;
        }


.notification {
    padding: 10px;
    background-color: var(--background-white);
    border: 1px solid;
    border-color: var(--background-black);
    border-radius: 5px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    /* You may want to add more styles for better visuals */
}

.astro-icon {
    font-family: 'A';
    font-size: 24px;
    color: var(--background-black);
}

#wizard {
    font-size: 70px;
    width: 230px;
    height: 230px;
    display: inline-block;
    position: relative;
    margin-bottom: 21px;
    margin-top: 30px;
    opacity: 0.8;
}

#wizard img {
    position: absolute;
    top: 0;
    left: 50%; /* Set the left position to 50% of the parent */
    transform: translateX(-50%); /* This will center the image */
    width: 100%; /* Full width for the bottom image */
    height: 100%; /* Full height for the bottom image */

}

#wizard img.top {
    width: 20%; /* Make the top image 80% less wide */
    /* Adjust height if you want to maintain aspect ratio, 
       or remove the height property if it's not needed */
    height: auto; /* Example of adjusting height to maintain aspect ratio */
    z-index: 10; /* Ensure the top image is above */
    display: none;
}

#mainContainer {
}

#nameInput {
    text-transform: capitalize
}

#inputHeader {
    margin-inline: 27px;
}

#title {
    font-size: 43px;
    margin-bottom: 20px;
    width: 100%;
    font-weight: 100;
    margin-top: 0px;
    letter-spacing: 2px;
    position: absolute;
    top: 39%;
    font-family: 'azika';
    color: var(--background-black);
    letter-spacing: 0.8px;
}



#chartList .item.active {
font-weight: 900;
}





@font-face {
    font-family: 'ramadhan';
    src: url('ramadhan-fest-font/Ramadhanfest-ywmWV.woff2') format('woff2');
}

@font-face {
    font-family: 'azika';
    src: url('azkia-font/Azkia-8MPAJ.woff2') format('woff2');
}

@font-face {
    font-family: 'ramadhan';
    src: url('ramadhan-fest-font/Ramadhanfest-ywmWV.woff2') format('woff2');
}

@font-face {
    font-family: 'azika';
    src: url('azkia-font/Azkia-8MPAJ.woff2') format('woff2');
}

@font-face {
    font-family: 'AstroFont';
    src: url('astro-font/astro-webfont.woff2') format('woff2');
}
@font-face {
    font-family: 'A';
    src: url('astro-font/astro-webfont.woff2') format('woff2');
}
.glyph {
    font-family: 'AstroFont';
}

.signGlyph {
      font-family: 'AstroFont';
}




/* Desktop Layout */
@media screen and (min-width: 768px) {
    
#mainPage {    
    flex-direction: row;
    height: auto;
}

#infoWrapper {
    width: 50%;
    margin-left: 50%;
    

}
}

/* Mobile Layout */
@media screen and (max-width: 767px) {

    #inputContainer .inputStyle {
        text-align: center;
    }

    .inputStyle {
        width: 90%;
    margin: 10px 0;
    position: relative;
    border-radius: 8px;
    background: var(--input-background);
    border: none;
    font-size: 16px;
    padding-top: 12.5px;
    padding-bottom: 12.5px;
    padding-left: 10px;
    padding-right: 10px;
    font-family: 'poppins';
    font-weight: 300;
    color: var(--background-black);
    }
    .dateTimeInput {
        width: 45%;
        }
  

   
}


input.apple-switch {
    position: relative;
    -webkit-appearance: none;
    outline: none;
    width: 50px;
    height: 30px;
    background-color: #fff;
    border: 1px solid #D9DADC;
    border-radius: 50px;
    box-shadow: inset -20px 0 0 0 #fff;
  }
  
  input.apple-switch:after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    background: transparent;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    box-shadow: 2px 4px 6px rgba(0,0,0,0.2);
  }
  
  input.apple-switch:checked {
    box-shadow: inset 20px 0 0 0 #4ed164;
    border-color: #4ed164;
  }
  
  input.apple-switch:checked:after {
    left: 20px;
    box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
  }

  #loading-zodiac {
    opacity: var(--icon-opacity);
    filter: var(--icon-filter);
  }

  #wizard-zodiac {

    filter: var(--icon-filter);
  }