/* ------ app -------------- */
*, *::before, *::after {
    box-sizing: inherit;
}

html, body {
    height: 100vh; 
    min-height: 100vh; 
    max-height: 100vh;
    width: 100vw;  
    display: flex;
    flex-direction: column; 
    padding: 0;
    margin: 0;
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif;
    font-family: 'Roboto', sans-serif;
}

/* Overlay effect (optional) */
body::before {
    content: '';
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.app-container {
    height: 100vh; 
    min-height: 100vh; 
    max-height: 100vh;
    width: 100vw;  
    min-width: 100vw; 
    max-width: 100vw;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    color: var(--text-color); 
    box-sizing: border-box; 
    background: var(--primary-background-color);
    overflow:hidden;
}

#app-root{
   background-image: url('/assets/icons/background-image.jpg'); 
    background-size: cover;      
    background-position: center; 
    height: 100vh;               
    width: 100vw;                
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}
/* ------ page-content -------------- */
/* .page-content-container {
    height: 100%;
    width: 97.5vw; 
    background: var(--primary-background-color); 
    box-sizing: border-box;
} */

/* ------ app-header -------------- */
.app-header-container {
    height: 5%; /* Takes 5% of the screen height 5dvh */
    width: 100%; /* Full width of the container */
    display: flex;
    flex-direction: row; /* horizontal */
    align-items: center; /* Vertically center items */
    justify-content:space-between;  /* Horizontally - Items are evenly distributed, with the first item at the start and the last at the end */
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 0.5px;
    border-bottom: var(--div-border);
    background: var(--app-header-background-color);  
    box-sizing: border-box; /* Ensure consistent sizing */ 
}

/* ------ app-content -------------- */
.app-content-container {
    height: 95%; /* Takes the remaining 95% of the screen height */
    width: 100%; /* Full width of the container */
    display: flex; /* Optional: Flex for layout */
    flex-direction: row; /* horizontal */
    box-sizing: border-box; /* Ensure consistent sizing */
}



/* ------ app-logo -------------- */
.app-logo-container{
    height: 85%;
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: center; 
    gap: 2%;
    /* background-color: brown; */

}

/* #app-logo{
    height: 90%;
    aspect-ratio: 1 / 1;
} */

.app-title{
    color: var(--app-title-text-color); /* Text color */
    font-weight: bold; /* Makes text bold */
    /* font-style: italic;  */
    font-family: serif;
    font-size: 350%;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

#app-title:hover{
    color: var(--app-title-text-color-hover); /* Text color */
    font-weight: bold; /* Makes text bold */
    font-style: italic; 
    font-family: serif;
    /* font-size: 250%; */
}

/* ------ current-page-container -------------- */
.current-page-container{
    height: 85%;
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: center;
    background: var(--info-background-color); 
    border-radius: 5%;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

.current-page-icon{
    height: 90%;
    aspect-ratio: 1 / 1;
}

.current-page-label{
    height: 90%;
    width: auto;
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-style: var(--font-style);
    font-weight: var(--font-width);
    font-size: 130%;
    margin-left: 2%;

    flex-shrink: 0; /* Prevent shrinking */
}

/* ------ app-tools -------------- */
.app-tools-container{
    height: 95%;
    width: 40%;
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: space-evenly;
    gap: 1%;
    /* background: #e91414; */

}

.group-tools-container{
    height: 95%;
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically center items */
    justify-content: center;
    gap: 1%;
    border: var(--div-border);
    border-radius: 5px;
    padding: 0.5%;
    flex-shrink: 0; /* Prevent shrinking */
    /* background-color: chartreuse; */
}

.group-tools-label{
    height: 90%;
    width: auto;
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-style: var(--font-style);
    font-weight: var(--font-width);
    font-size: 120%;
    margin-left: 1%;
    flex-shrink: 0; /* Prevent shrinking */
}



/* ------ app-nav -------------- */
.app-nav{
    height: 100%;
    width: 2.5vw;
    display: flex; /* Optional: Flex for layout */
    flex-direction: column; /* Vertical layout */
    justify-content: flex-start;
    align-items: center;
    gap: 0.25%;
    /* padding-top: 0.25%; */
    background: var(--app-nav-background-color);  
    border-right: 1px solid #0e0c0c;
    box-sizing: border-box;
}

/* ------ page-content -------------- */
.page-content-container {
    position: relative;                       /* needed for ::before */
    height: 100%;
    width: 97.5%; 
    background: var(--primary-background-color);
    overflow:hidden; 
    box-sizing: border-box;
}

/* Watermark layer */
.page-content-container::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;                     /* don't block clicks */
  opacity: 0.16;                            /* watermark strength */

  /* Tile an SVG that renders the text "SensiGrow" */
  background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='260' height='140' viewBox='0 0 260 140'>\
    <text x='50%' y='50%' dominant-baseline='middle' text-anchor='middle'\
            fill='%33177da5' font-size='28'\
            font-family='Segoe UI, Arial, sans-serif'\
            transform='rotate(-20 130 70)'>SensiGrow</text>\
    </svg>");
    background-repeat: repeat;
    background-size: 260px 140px;             /* tile size (spacing) */
    background-position: 0 0;                 /* offset if desired */
}




