:root {
    --dark-green: #086e54;
    --pastel-green: #e8f1ef;
    --dark-blue: #212934;
    --forest-green: #48be9d;
    --neon-green: #15d16c;
    --neon-green-dark: #11a154;
    --golden-sun: #f1b748;
    --tangerine: #ef5f21;
    --cherry: #e21f3b;
    --sky-blue: #25a9df;
    --grape: #6e2456;
    --standard-font: 'Montserrat', sans-serif;

    --tile-background: rgb(250,250,250);
    --background: rgb(230,230,230);
    --shadow: 0 0 10px 5px rgb(220,220,220);
    --shadow-lite: 0 0 5px rgb(240,240,240);
    --faded-black: rgb(80,80,80);
    
    --dark-background: rgb(50,50,50);
    --darker-background: rgb(30,30,30);
    --darkest-background: rgb(20,20,20);
    --offblack: rgb(120,120,120);
    /* --body-font: 'Wix Madefor Display', sans-serif; */
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* #openai {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    z-index: 100000;
    border-radius: 20px;
    padding: 10px;
    box-sizing: border-box;

    background-color: var(--pastel-green);
}

#openai-chat {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;

    background-color: white;
}

#openai-form {
    position: relative;
    display: flex;
    gap: 5px;
    width: 100%;

    font-family: var(--standard-font);
}

#openai-input {
    width: 100%;
    padding: 5px;
    border-radius: 10px;
    border: none;
    
    font-family: var(--standard-font);
}

#openai-submit {
    background: none;
    border: none;
    color: var(--dark-green);
    font-weight: 700;
    font-family: var(--standard-font);
    transition: all 200ms ease;
}

#openai-submit:hover {
    cursor: pointer;
    filter: opacity(50%);
} */

html {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: hidden;

    font-family: var(--standard-font);
}

.page__header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    width: 100%;
    padding: 5px 20px;
    box-sizing: border-box;

    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    background-color: var(--darkest-background);
}

.page__header__sub {
    position: relative;
    width: 33.33%;
}

.page__header__sub-left, .page__header__sub-right {
    display: flex;
    align-items: center;
}

.page__header__sub-center {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.page__header__sub-right {
    position: relative;
    justify-content: flex-end;
    gap: 10px;
}

.page__header__sub > h1 {
    margin: 0;    
    font-weight: 300;
    font-size: 16px;
}

.productivity-title {
    transform: translateX(-20px);
    opacity: 0;
    justify-self: flex-end;

    color: var(--forest-green);
    animation: fadeInFromSide 500ms ease forwards;
    animation-delay: 500ms;
}

.title-divider {
    position: relative;
    height: 0;
    width: 2px;
    grid-column-start: 2;

    background-color: var(--dark-background);
    animation: fadeInDivider 500ms ease forwards;
}

.app-title {
    transform: translateX(20px);
    opacity: 0;
    justify-self: flex-start;

    color: var(--pastel-green);
    animation: fadeInFromSide 500ms ease forwards;
    animation-delay: 1s;
}

.page__header__btn__wrapper {
    position: relative;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page__header__btn__wrapper > img {
    width: 22px;
    padding: 8px;
    border-radius: 100px;

    background-color: var(--dark-background);
    transition: all 200ms ease
}

.page__header__btn__wrapper > img:hover {
    cursor: pointer;
    background-color: black;
}

#top__nav__bar {
    position: relative;
    width: 100%;
    height: 30px;

    background-color: var(--darkest-background);
}

.body__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.mobile__menu {
    position: absolute;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    right: 5px;
    top: 0;
    width: 35px;
    height: 35px;
    z-index: 100;
}

.mobile__menu:hover {
    cursor: pointer;
}

.menu__bar {
    position: absolute;
    width: 25px;
    height: 2px;
    margin: 0;

    background-color: rgba(0, 0, 0, 0.5);
    transition: 300ms ease;
}

#bar--top {
    transform: translateY(10px);
}

#bar--bottom {
    transform: translateY(-10px);
}

.top--active {
    margin: 0 !important;
    transform: translate(0) rotate(45deg) !important;
}

.middle--active {
    opacity: 0;
}

.bottom--active {
    margin: 0 !important;
    transform: translate(0) rotate(-45deg) !important;
}

.global__nav__bar--dynamic {
    position: relative;
    display: flex;
    width: 100%;
}

.global__nav__bar--active {
    opacity: 1 !important;
    left: 0 !important;
}

.global__nav__bar--dynamic div {
    width: 33.33%;
    height: 100%;
    box-sizing: border-box;
}

.logo__wrapper {
    display: flex;
    align-items: center;
}

.pLogo__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gar__logo {
    position: relative;
    height: 40px;
    user-select: none;
}

.productivity__logo {
    position: relative;
    height: 30px;
    user-select: none;
}

.admin__wrapper {
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#disclaimer__container, #disclaimer__container div {
    opacity: 0;

    animation: fadeIn 200ms ease forwards;
}

#disclaimer__container {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1001;

    background-color: rgb(0, 0, 0, 0.7);
}

#disclaimer__container > div {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 400px;
    height: fit-content;
    padding: 30px;
    box-sizing: border-box;

    border-radius: 10px;
    background-color: var(--darker-background);
}

#disclaimer__container > div > h3 {
    display: inline;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 100%;
    height: fit-content;
    text-align: center;
    line-height:  150%;

    font-weight: 400;
    font-size: 14px;
    color: var(--pastel-green);
}

#disclaimer__container > div > h3 > a {
    color: var(--neon-green);
}

#disclaimer__container > div > ul {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-self: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 20px 20px 40px;
    border-radius: 10px;

    background-color: var(--darkest-background);
}

#disclaimer__container > div > ul > li {
    color: var(--pastel-green);
    font-size: 13px;
}

#disclaimer__btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
    height: fit-content;
}

#disclaimer__btns > button {
    width: 100px;
    padding: 8px 16px;
    box-sizing: border-box;
    border-radius: 50px;

    color: var(--forest-green);
    background-color: var(--darkest-background);
    border: none;
    transition: all 200ms ease;
    font-family: var(--standard-font);
    font-weight: 500;
}

#disclaimer__container div div button:hover {
    cursor: pointer;
    color: var(--darkest-background);
    background-color: var(--forest-green);
}

.splash__img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.splash__img--active {
    opacity: 1 !important;

    transition: 500ms ease;
}

.loader__container {
    position: absolute;
    top: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    z-index: 99;

    background-color: rgba(0, 0, 0, 0.3);
}

.loader__container img {
    width: 24px !important;
    height: 24px;

    animation: loading 1s linear infinite;
}

.nav__sidebar__wrapper {
    position: position;
    flex-direction: column;
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    height: 100%;
    z-index: 100;
    box-sizing: border-box;
}

.nav__sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 101;
    gap: 40px;

    background-image: linear-gradient(30deg, var(--dark-green) 60%, #48be9d);
    box-shadow: 5px 0px 10px rgba(0, 0, 0, 0.2);

    transition: 300ms ease;
}

.nav__sidebar--active {
    width: 260px;

    transition: 300ms ease;
}

.logo__container {
    position: relative;
    display: flex;
    width: fit-content;
    height: 48px;
    min-height: 48px;
    overflow: hidden;
    user-select: none;
    gap: 10px;

    transition: 300ms ease;
}

.nav__icon {
    position: relative;
    width: 48px;
    margin-left: 5px;
    transition: 300ms ease;
}

.nav__logo {
    position: relative;
    height: 100%;
    width: 200px;
    margin-left: 5px;
    object-fit: contain;
    transition: 300ms ease;
}

.nav--hidden {
    opacity: 0;

    transition: 300ms ease;
}

.name__container {
    position: relative;
    width: fit-content;
    height: fit-content;
    white-space: nowrap;
}

.user__name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 20px;
    padding: 10px;
    user-select: none;

    border-radius: 100px;
    color: white;
    font-family: var(--standard-font);
    font-weight: 400;
    font-size: 14px;
    transition: all 200ms ease;
}

.user__info {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 66px;
    right: 0;
    width: 200px;
    height: fit-content;
    opacity: 0;
    padding: 10px;

    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border-radius: 5px;
    font-family: var(--title-font);
    background-color: rgb(80,80,80);
    animation: userModal 500ms ease forwards;
}

.user__info-hidden {
    display: none;
}

.user__info > h2 {
    user-select: none;
    pointer-events: none;
    margin: 0;
    padding: 8px;

    text-align: center;
    border-radius: 5px;
    background-color: var(--darker-background);
    font-size: 16px;
    font-weight: 300;
    color: var(--pastel-green);
}

.user__info > h4 {
    color: var(--pastel-green);
    font-size: 12px;
    font-weight: 300;
}

.user__nav {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px;
    gap: 5px;

    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    color: var(--pastel-green);
    transition: all 200ms ease;
}

.user__nav:hover {
  cursor: pointer;
  background-color: rgb(60,60,60);
}

.user__nav > img {
    height: 24px;
}

.user__integration {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 5px;
    gap: 10px; 
    pointer-events: none;

    border-radius: 5px;
    background-color: var(--dark-background);
}

.user__integration:not(:last-child) {
    margin-bottom: 10px;
}

.user__integration > img {
    pointer-events: none;
    height: 100%;
}

.user__integration > p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    pointer-events: none;
    height: fit-content;

    border-radius: 5px;
    font-size: 11px;
    color: var(--pastel-green);
    background-color: var(--darkest-background);
}

.user__integration > p > img {
    width: 20px;
    object-fit: contain;
}

.user__integration > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px;
    pointer-events: all;

    border-radius: 5px;
    text-decoration: none;
    font-size: 11px;
    color: var(--pastel-green);
    background-color: var(--darkest-background);
    transition: all 200ms ease;
}

.user__integration > a:hover {
    cursor: pointer;
    background-color: var(--forest-green);
    color: var(--darkest-background);
}

@keyframes userModal {
    100% {
        opacity: 1;
        top: 62px;
    }
}

.nav__divider {
    position: relative;
    width: 80%;
    height: 1px;

    background-color: rgba(0, 0, 0, 0.1);
}

.nav--btn__container {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    width: 100%;
}

.btn__container {
    cursor: pointer;
    user-select: none;
}

.btn__wrapper {
    position: relative;
    display: flex;
    height: 28px;
    width: 100%;
    align-items: center;
    padding: 8px 8px 8px 15px;

    cursor: pointer;
    transition: all 200ms ease;
}

.btn__wrapper:hover {
    background-color: rgba(0,0,0,0.3);
}

.admin__logo, .logout__logo, .reports__logo {
    position: relative;
    width: 28px;

    transition: 200ms ease;
}

.admin__btn, .logout__btn, .reports__btn {
    position: relative;
    white-space: nowrap;
    margin-left: 10px;
    pointer-events: none;

    background: none;
    border: none;
    color: white;
    font-family: var(--standard-font);
    font-weight: 400;
    font-size: 16px;
    transition: all 200ms ease;
}

.btn--shift {
    transform: translateX(10px);
}

#result__message {
    position: fixed;
    display: flex;
    align-items: center;
    right: 0px;
    bottom: 10px;
    z-index: 9999;
    padding: 16px;
    gap: 10px;
    height: fit-content;
    max-width: 500px;

    font-size: 14px;
    font-weight: 600;
    background-color: var(--darkest-background);
    animation: messageDisplay 5s ease forwards;
}

#result__message > img {
    width: 20px;
}

#upload__modal__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;

    background-color: rgba(0,0,0,0.5);
}

#upload__modal {
    position: relative;
    width: 500px;
    height: 275px;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,calc(-50% + 20px));
    opacity: 0;

    border-radius: 20px;;
    background-color: var(--dark-background);
    animation: slideFadeInModal 500ms ease forwards;
}

#upload__modal__exit {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 24px;

    transition: all 200ms ease;
}

#upload__title {
    margin: 0 0 16px;

    color: var(--pastel-green);
    font-size: 24px;
    font-weight: 300;
}

#upload__modal__exit:hover {
    cursor: pointer;
    filter: brightness(75%);
}

#upload__file__mode {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#upload__file__mode > span > label {
    font-size: 12px;
    color: var(--pastel-green);
}

#upload__file__mode > span > input {
    width: fit-content;
}


#upload__file__input {
    margin: 10px 0;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px
}

#upload__file__input > input[type="file"] {
    padding: 10px;

    border-radius: 10px;
    border: 2px dotted rgb(100,100,100);
    color: var(--pastel-green);
    background-color: var(--darker-background);
    font-family: var(--standard-font);
}

#upload__file__input > input[type="file"]::file-selector-button {
    padding: 5px 10px;

    border-radius: 5px;
    font-family: var(--standard-font);
    font-size: 12px;
    font-weight: 500;
    background-color: var(--darkest-background);  
    border: none;
    color: var(--forest-green); 
}

#upload__file__input > input[type="file"]::file-selector-button:hover {
    cursor: pointer;
    color: var(--darkest-background);
    background-color: var(--forest-green);
}

.file-input-empty {
    border: 2px dotted var(--cherry) !important;
}

#upload__file__input > input[type="submit"] {
    width: 100px;
    height: fit-content;
    padding: 8px 16px;

    border-radius: 10px;
    font-family: var(--standard-font);
    font-size: 12px;
    font-weight: 500;
    background-color: var(--darkest-background);  
    border: none;
    color: var(--forest-green); 
}

#upload__file__input > input[type="submit"]:not(:disabled):hover {
    cursor: pointer;
    color: var(--darkest-background);
    background-color: var(--forest-green);
}

#upload__file__input > input[type="submit"]:disabled {
    filter: brightness(50%);
}

#upload__modal > header {
    position: relative;
    padding: 5px 0;
    display: grid;
    grid-template-columns: 50% 50%;
}

#upload__modal > header > p {
    margin: 0 0 0 5px;
    
    font-size: 11px;
    color: var(--pastel-green);
}

#upload__file__preview {
    height: 117px;
    overflow-y: auto;
}

#upload__file__preview p:first-child {
    padding-right: 10px;
}

#upload__file__preview p:last-child {
    padding-left: 10px;
}

#upload__file__preview p {
    margin: 0;
    word-break: break-all;

    font-size: 10px;
    color: var(--pastel-green);
}

.file__preview {
    display: grid;
    grid-template-columns: 50% 20px auto;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;

    background-color: var(--darker-background);
    border-top: 1px solid var(--darkest-background);
    border-bottom: 1px solid var(--darkest-background);
}

.file__preview:not(:first-child) {
    border-top: none !important;
}

.file__preview__loader {
    display: grid;
    place-items: center;
}

.file__preview__loader > img {
    width: 16px;
    animation: loading 1s linear infinite;
}

@keyframes fadeIn {
    100%{
        opacity: 1;
    }
}

@keyframes fadeInFromSide {
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDivider {
    100% {
        height: 60%;
    }
}

@keyframes loading {
    0%{
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes messageDisplay {
    10%{transform: translateX(0);}
    90%{transform: translateX(0);}
}

@keyframes slideFadeInModal {
    100%{opacity: 1;transform: translate(-50%, -50%)}
}