@import "elements/alerts.css";
@import "elements/badges.css";
@import "elements/buttons.css";
@import "elements/dropdowns.css";
@import "elements/forms.css";
@import "elements/modals.css";
@import "elements/navbar.css";
@import "elements/navs.css";
@import "elements/passwords.css";
@import "elements/tables.css";
@import "elements/toasts.css";

* {
    font-family: "Noto Sans", sans-serif;
    box-sizing: border-box;
}

*::selection {
    background: var(--vp-blue-hover);
    color: #FFF;
}

html,
body {
    --background: #FFFFFF;
    --background-grey: #f6f9fc;
    --background-grey-dark: #f1f1f1;
    --background-grey-transparent: #f6f9fc;
    --background-loader: #ffffff72;
    --background-modal: #dee0e3;
    --border: #D8D8D8;
    --border-light: #ececec;
    --border-table: #D8D8D870;
    --btn-dark: #000000DE;
    --btn-dark-hover: #000000;
    --danger: #FB2C36;
    --danger-transparent: #FB2C3617;
    --messages-background: #ebebeb;
    --shadow: 0 1px 20px #0000001a;
    --shadow-light: 0 1px 2px #0000001a;
    --shadow-light-blue: 0 1px 2px #2b7eea1a;
    --sidebar-background: #f6f7f9;
    --success: #00C96F;
    --success-transparent: #00C96F17;
    --table-background: #f9fafb;
    --text: #000000DE;
    --text-black: #000000;
    --text-blue: #343c47;
    --text-light: #0000007d;
    --vp-blue: #377ed9;
    --vp-blue-hover: #468be6;
    --vp-blue-transparent: #a4c5f340;
    --vp-blue-text: #003C92;
    --warning: #c8a414;
    --warning-transparent: #c8a41417;
    font-size: 14px;
    height: 100%;
    background: var(--background);
    transition-duration: .3s;
}

body.dark-mode {
    --background: #121727;
    --background-grey: #262c3f;
    --background-grey-dark: #262c3f;
    --background-grey-transparent: #262c3f17;
    --background-loader: #12172772;
    --background-modal: #232630;
    --border: #1d2330;
    --border-light: #1d2330;
    --border-table: #1d2330;
    --btn-dark: #000000DE;
    --btn-dark-hover: #000000;
    --shadow: 0 1px 20px #9c9c9c1a;
    --shadow-light: 0 1px 2px #9c9c9c1a;
    --sidebar-background: #0f121e;
    --text: #FFF;
    --text-black: #FFF;
    --text-blue: #FFF;
    --text-light: #cecaca;
    background: var(--background);
}

body.no-scroll {
    overflow: hidden;
}

.row > * {
    padding: 12px 0;
}

.app-container {
    display: grid;
    grid-template-columns: 21.42857142857143rem 4fr;
    overflow: hidden;
    height: calc(100% - 4.15rem);
}

.sidebar {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--sidebar-background);
}

.sidebar-content {
    position: sticky;
    top: 16px;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: auto;
    padding: 20px 16px;
    scrollbar-width: none;
}

.sidebar-content__title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    padding-left: 12px;
}

.sidebar-content ul {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-content ul li {
    list-style-type: none;
}

.sidebar-content ul li a:not(.btn) {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: .9rem;
    padding: 4px 16px;
    margin: 4px 0;
    border-radius: 4px;
    font-weight: 500;
}

.sidebar-content ul li a:not(.btn):not(.active):hover {
    background: var(--background-grey);
}

.sidebar-content ul li a.active {
    background: var(--background-grey);
}

.sidebar-content ul li a:not(.btn) span.material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-top: 1px;
}

.sidebar-content ul li a.active span.material-symbols-outlined {
    color: var(--vp-blue);
}

.sidebar-content ul li .forum-category-dot {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: var(--success);
}

.sidebar-content ul li .copyright {
    color: var(--text);
    font-size: .875rem;
    padding: 8px 12px;
    font-weight: 400;
}

.sidebar-content ul.subcategory {
    margin: 16px 0;
}

.sidebar-content ul li a.btn-primary {
    margin-bottom: 16px;
}

.app-content {
    overflow-y: scroll;
    color: var(--text);
    position: relative;
}

.content {
    padding: 32px;
}

.content.small {
    width: 50%;
    margin: auto;
}

.header {
    padding-bottom: 64px;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--vp-blue);
    color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header__logo span.material-symbols-outlined {
    font-size: 1.5rem;
}

.header.center {
    text-align: center;
}

.header h1 {
    font-weight: 800;
    color: var(--text-black);
    font-size: 1.8rem;
    margin-bottom: 0;
}

.header.center h1 {
    color: var(--text);
    font-size: 4rem;
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.header.center h1 span.blue {
    color: var(--vp-blue);
}

.header p {
    font-size: 1rem;
    color: var(--text-light);
}

.main-container h2 {
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 32px;
}

.main-container.small-container {
    width: 50%;
    margin: auto;
}

.calendar-container {
    position: relative;
    min-height: 300px;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px;
    background: var(--background-loader);
}

.no-result {
    padding: 128px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-notifications .no-result {
    border: none;
}

.no-result__content {
    text-align: center;
}

span.no-result__content__icon {
    font-size: 8rem;
    color: var(--text);
    margin-bottom: 8px;
}

.no-result__content__title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.no-result__content__text {
    font-size: 1rem;
    color: var(--text-light);
}

.no-result__content .btn {
    margin-top: 24px;
}

.toggle-password {
    cursor: pointer;
}

.toggle-password span.material-symbols-outlined {
    user-select: none;
}

p {
    margin-bottom: 0 !important;
}

.form-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: .9rem;
}

.form-subtitle span.material-symbols-outlined {
    font-size: 1.1rem;
    background: var(--background-grey);
    border-radius: 2px;
    padding: 4px;
}

@media screen and (max-width: 1000px) {
    body,
    html {
        font-size: 15px !important;
    }
    
    .app-container {
        display: block;
        height: 100%;
        min-height: 100%;
        padding-top: 4.15rem;
        overflow: auto;
    }

    .app-content {
        overflow: hidden;
    }

    .content {
        padding: 32px 16px;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        z-index: 10;
        transform: translateX(-100%);
        transition-duration: .3s;
    }

    .sidebar.opened {
        transform: translateX(0);
        transition-duration: .3s;
    }

    .main-container.small-container {
        width: 100%;
    }

    .header.center h1 {
        font-size: 2.5rem;
    }
}