/*! COMMON SEE STYLES*/
/*! HEADER SEE STYLES*/
/*! CONTAINER*/
.container {
    position: fixed;
    top: 70px;
    width: 100vw;
    height: calc(100vh - 70px);
    margin: 0;
}
/*! MENU*/
.menu {
    height: 100%;
    background-color: var(--surface);
    color: var(--onSurface);
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 2px 10px;
}

.menu li {
    padding: 8px 12px;
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu li.active {
    background-color: var(--primaryContainer);
    color: var(--onPrimaryContainer);
    cursor: pointer;
}

.menu li.active img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(40%) saturate(1390%) hue-rotate(321deg) brightness(113%) contrast(99%);
}

.menu li:hover {
    background-color: var(--container);
    color: var(--onContainer);
    cursor: pointer;
}

.menu-title {
    margin-left: 8px;
    font-weight: 700;
}

.collapse {
    cursor: pointer;
}

/*! CONTENT*/
.content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.content-targets ul, .content-calendar-right ul {
    width: 100%;
    height: 100%;
}

/*! LOADER*/
.loader {
    --dim: 18px;
    width: var(--dim);
    height: var(--dim);
    position: relative;
    animation: spin988 2s linear infinite;
}

.loader .circle {
    --color: #333;
    --dim: 6px;
    width: var(--dim);
    height: var(--dim);
    background-color: var(--color);
    border-radius: 50%;
    position: absolute;
}

.loader .circle:nth-child(1) {
    top: 0;
    left: 0;
}

.loader .circle:nth-child(2) {
    top: 0;
    right: 0;
}

.loader .circle:nth-child(3) {
    bottom: 0;
    left: 0;
}

.loader .circle:nth-child(4) {
    bottom: 0;
    right: 0;
}

/*! ACCOUNT*/
.account {
    padding: 5px;
}
.account-menu {
    padding: 10px;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: var(--container);
    margin-right: 15px;
    width: 180px;
    background-color: var(--surface);
    color: var(--onSurface);
    height: calc(100vh - 70px);
}

.account-menu ul li {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
}

.account-menu ul li:hover, .account-menu ul li.active {
    cursor: pointer;
    text-decoration: underline;
}

.account-content {
    width: calc(100% - 180px);
    color: var(--onSurface);
    padding: 10px;
    margin-top: 5px;
}

.account-content span {
    margin-top: 5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.account-content input, .account-content button {
    margin-bottom: 12px;
    padding: 8px 16px;
}

/*! QUICK*/
.dashboard-quick .card {
    margin: 5px;
}

.dashboard-quick .add-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--quickColor);
    background-color: var(--quickBackground);
    border-style: solid;
    border-width: 2px;
    border-color: var(--quickBorder);
    border-radius: 40px;
    padding: 8px 12px 8px 14px;
    transform: translate(0px, 0px) rotate(0deg);
    transition: 0.2s;
    box-shadow: -4px -2px 16px 0 var(--background), 4px 2px 16px 0 var(--quickShadow);
}

.dashboard-quick .add-quick:hover {
    color: var(--quickHover);
    background-color: var(--quickHoverBackground);
    box-shadow: -2px -1px 8px 0 var(--background), 2px 1px 8px 0 var(--quickShadow);
}

.dashboard-quick .add-quick:active {
    box-shadow: none;
}

.dashboard-quick button {
    background-color: transparent;
}

.add-quick input {
    padding: 8px;
    border: none;
    border-radius: 2px;
}

.pdf-quick {
    margin-left: 20px;
}

/*! TASKS*/
.content-tasks h4 {
    margin: 5px;
    text-decoration: underline;
}

/*!CALENDAR*/
.content-calendar-left {
    color: var(--onBackground);
}

.content-calendar-right {
    height: calc(100vh - 70px);
    color: var(--onBackground);
}

.calendar-day-large {
    text-align: center;
    margin-top: 10px;
    font-size: 32px;
    align-self: center;
}

.month-label {
    padding: 4px 12px;
}

.calendar-item-small {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    align-content: center;
}

.calendar-item-small:hover {
    cursor: pointer;
    background-color: #999;
}

.calendar-item-small-today {
    background-color: var(--primaryContainer);
    color: var(--onPrimaryContainer);
}

.calendar-item-large-today {
    border-color: tomato;
    font-size: 40px;
    font-weight: 700;
    color: tomato;
}

.calendar-weekday {
    text-align: center;
}

.calendar-day-event {
    font-size: 12px;
    background-color: var(--primaryContainer);
    color: var(--onPrimaryContainer);
    padding: 2px;
    margin: 1px 2px;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
}

/*! NOTES*/
.content-notes, .content-tasks {
    height: calc(100vh - 70px);
}

.notes-left, .tasks-left {
    height: 100%;
    overflow-y: auto;
}

.tasks-left h4 {
    color: var(--onBackground);
}

.notes-right, .tasks-right {
    border-top-left-radius: 24px;
    padding: 10px;
    height: 100%;
    background-color: var(--surface);
    margin-top: 1px;
}

.notes-right input, .tasks-right input {
    padding: 8px 16px;
    margin: 8px 0;
    border: none;
    background-color: var(--background);
    color: var(--onBackground);
}

.notes-right .note-editor {
    width: 100%;
    height: 50%;
    padding: 8px 16px;
    background-color: var(--background);
    color: var(--onBackground);
    overflow-y: scroll;
}

/*! TASKS*/
.tasks-right textarea {
    width: 100%;
    height: 30%;
    padding: 8px 16px;
    background-color: var(--background);
    color: var(--onBackground);
    resize: vertical;
}

.tasks-right input[type="date"] {
    margin-right: 2px;
}

/*!ACTION ICONS*/
.action-icons img {
    margin-left: 10px;
}

/*TEAMS*/
.team-group {
    height: calc(100vh - 147px);
}

.teams-left {
    width: 60%;
    padding: 10px;
}

.teams-right {
    width: 40%;
    padding: 10px;
}

/*!PROGRESS BAR*/
.progress-bar {
    width: 100%;
    height: 6px;
    margin: 5px 0;
    display: flex;
    flex-direction: column;
}

/*.progress-background {
    width: 100%;
    height: 6px;
    background-color: #0348cb;
    border-radius: 12px;
    margin: 5px 0;
    display: flex;
}

.progress-dot {
    background-color: tomato;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    align-self: start;
}

.progress-made {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    background-color: tomato;
    z-index: 10;
}

.progress-mark {
    height: 12px;
    border: 2px solid transparent;
    background-color: tomato;
    width: 3px;
}*/

@keyframes spin988 {
    0% {
        transform: scale(1) rotate(0);
    }

    20%, 25% {
        transform: scale(1.3) rotate(90deg);
    }

    45%, 50% {
        transform: scale(1) rotate(180deg);
    }

    70%, 75% {
        transform: scale(1.3) rotate(270deg);
    }

    95%, 100% {
        transform: scale(1) rotate(360deg);
    }
}
/*! MEDIA QUERIES*/
@media screen and (min-width: 1px) {
    .team-task-item, .quick-item, .task-item, .note-item, .target-item, .lists-item, .notification-item, .subtask-item {
        flex: 0 0 100%;
        max-width: calc(100% - 10px);
        margin: 5px;
    }
    .calendar-item-small, .calendar-weekday {
        flex: 0 0 14.286%;
        max-width: calc(14.286% - 2px);
        margin: 1px;
    }
    .calendar-item-large {
        flex: 0 0 14.286%;
        max-width: calc(14.286% - 0);
        margin: 0;
        border: 1px solid #999;
        overflow-y: hidden;
    }
    .search {
        width: 50%;
    }
    .menu {
        width: 68px;
    }
    .content {
        width: calc(100vw - 68px);
    }
    .menu-title {
        display: none;
    }
    .dashboard-quick {
        display: flex;
        flex-direction: column;
    }
    .notes-left, .tasks-left {
        width: calc(100vw - 70px);
    }
    .notes-right, .tasks-right, .content-calendar-left, .app-name h2 {
        display: none;
    }
    .content-calendar-right {
        width: 100%;
    }
}

@media screen and (min-width: 640px) {
    .team-task-item, .quick-item, .task-item, .note-item, .target-item, .lists-item, .notification-item {
        flex: 0 0 50%;
        max-width: calc(50% - 10px);
        margin: 5px;
    }
    .search {
        width: 45%;
    }
    .dashboard-quick {
        flex-direction: row;
    }
}

@media screen and (min-width: 960px) {
    .quick-item, .task-item, .note-item, .target-item, .lists-item, .notification-item {
        flex: 0 0 33.3%;
        max-width: calc(33.3% - 10px);
        margin: 5px;
    }
    .search {
        width: 40%;
    }
    .menu {
        width: 150px;
    }
    .content {
        width: calc(100vw - 150px);
    }
    .options, .app-name h2, .menu-title {
        display: flex;
    }
}

@media screen and (min-width: 1280px) {
    .team-task-item {
        flex: 0 0 33.3%;
        max-width: calc(33.3% - 10px);
        margin: 5px;
    }
    .quick-item, .task-item, .note-item, .target-item, .lists-item, .notification-item {
        flex: 0 0 25%;
        max-width: calc(25% - 10px);
        margin: 5px;
    }
    .search {
        width: 20%;
    }
    .notes-left, .tasks-left {
        width: 80vw;
    }
    .notes-right, .tasks-right {
        display: flex;
        width: 20vw;
    }
    .content-calendar-left {
        display: flex;
        flex-direction: column;
        width: 20%;
    }
    .content-calendar-right {
        width: 80%;
    }
}

@media screen and (min-width: 1440px) {
    .team-task-item {
        flex: 0 0 25%;
        max-width: calc(25% - 10px);
        margin: 5px;
    }
    .quick-item, .task-item, .note-item, .target-item, .lists-item, .notification-item {
        flex: 0 0 20%;
        max-width: calc(20% - 10px);
        margin: 5px;
    }
}
