:root {
    --primerColor: #2A3647;
    --contrastColor: #ffffff;
    --secondColor: #29ABE2;
    --invalideColor: #ff002b;
    --background: #f6f7f8;
    --greyBackround: #f4f4f4;
    --linkColor: #007CEE;
    --ligthGrey: #D1D1D1;
    --maxWidth: 1100px;
    --color1: #ff7a00;
    --color2: #ff5eb3;
    --color3: #6e52ff;
    --color4: #9328ff;
    --color5: #01bee8;
    --color6: #20d7c1;
    --color7: #ff745e;
    --color8: #ffa35e;
    --color9: #fc71ff;
    --color10: #ffc700;
    --color11: #0238ff;
    --color12: #c3ff2b;
    --color13: #ffe62c;
    --color14: #ff4647;
    --color15: #ffbb2c;
    --taskColor1: #0038FF;
    --taskColor2: #1FD7C1;
    --taskContant: #A8A8A8;
}

body {
    font-family: Inter, sans-serif;
    margin: 0;
    padding: 0;
}

input,
textarea,
select {
    font-family: 'Inter', sans-serif;
}

.d_none {
    display: none !important;
}

.blue_text {
    color: var(--secondColor);
    text-decoration: none;
}

.red-star {
    color: var(--invalideColor);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
}

h1 {
    font-size: 61px;
    font-weight: 700 !important;
    margin: 0;
}

@media (max-width: 1100px) {
    body {
        grid-template-columns: 1fr;
        grid-template-rows: 80px 1fr 80px;
        background-color: var(--background);
    }

    #header,
    header {
        height: 80px;
        position: fixed;
        top: 0;
        z-index: 10;
    }

    header {
        padding: 0 16px 0 16px;
    }

    #help-button {
        display: none;
    }

    h1 {
        font-size: 47px;
    }

    #user-icon {
        width: 40px;
        height: 40px;
    }

    #user-initials {
        font-size: 16px;
    }
}

#personIcon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: solid 3px var(--primerColor);
    line-height: 1;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: var(--secondColor);
}

/* Guest Mode Styles */
body.mode-guest #help-container,
body.mode-guest #user-icon,
body.mode-guest #buttons-container {
    display: none;
}

#sidebar-logIn {
    display: none;
}

body.mode-guest #sidebar-logIn {
    display: flex !important;
    justify-content: center;
}

@media (min-width: 1101px) {
    body.mode-guest #sidebar-logIn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    body.mode-guest #sidebar-logIn p {
        display: block !important;
    }
}

/* Global Loader Overlay */
#global-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Simple CSS Spinner */
.loader-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--primerColor);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Landscape Warning */
#mobile-landscape-warning {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primerColor);
    z-index: 9999;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.landscape-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rotate-device-icon {
    font-size: 48px;
    animation: rotate-icon 2s infinite ease-in-out;
}

@keyframes rotate-icon {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(90deg);
    }

    75% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media (max-height: 500px) and (min-width: 500px) {
    #mobile-landscape-warning {
        display: flex !important;
    }
}