/*
|--------------------------------------------------------------------------
| PROJECT REDLINE - LAYOUT
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| GLOBAL
|--------------------------------------------------------------------------
*/

html,
body {
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    overflow-x: hidden;

    background: var(--background-color);
}

/*
|--------------------------------------------------------------------------
| BODY
|--------------------------------------------------------------------------
*/

body {
    font-family:
        Inter,
        Arial,
        sans-serif;

    color: var(--text-color);

    background:
        radial-gradient(
            circle at top,
            rgba(255, 42, 42, 0.04),
            transparent 30%
        ),
        var(--background-color);
}

/*
|--------------------------------------------------------------------------
| APP
|--------------------------------------------------------------------------
*/

#app {
    width: 100%;
    min-height: 100vh;
}

/*
|--------------------------------------------------------------------------
| APP LAYOUT
|--------------------------------------------------------------------------
*/

.app-layout {
    width: 100%;
    min-height: 100vh;
}

/*
|--------------------------------------------------------------------------
| APP CONTENT
|--------------------------------------------------------------------------
*/

.app-content {

    position: relative;

    width: 100%;

    min-height: calc(100vh - 88px);

    padding:
        70px
        0
        0;

    overflow: visible;
}

/*
|--------------------------------------------------------------------------
| PAGE
|--------------------------------------------------------------------------
*/

.page {

    position: relative;

    width: 100%;

    overflow: visible;
}

/*
|--------------------------------------------------------------------------
| PAGE HEADER
|--------------------------------------------------------------------------
*/

.page-header {
    margin-bottom: 30px;
}

.page-title {
    color: var(--text-color);

    font-size: 36px;
    font-weight: 800;

    letter-spacing: 1px;
}

.page-subtitle {
    margin-top: 10px;

    color: var(--text-muted);

    font-size: 15px;
    font-weight: 500;
}

/*
|--------------------------------------------------------------------------
| PAGE GRID
|--------------------------------------------------------------------------
*/

.page-grid {
    display: grid;

    gap: 24px;
}

/*
|--------------------------------------------------------------------------
| FLEX
|--------------------------------------------------------------------------
*/

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

/*
|--------------------------------------------------------------------------
| GAP
|--------------------------------------------------------------------------
*/

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

/*
|--------------------------------------------------------------------------
| WIDTH
|--------------------------------------------------------------------------
*/

.w-full {
    width: 100%;
}

/*
|--------------------------------------------------------------------------
| HEIGHT
|--------------------------------------------------------------------------
*/

.h-full {
    height: 100%;
}

/*
|--------------------------------------------------------------------------
| GLOBAL SCROLL FIX
|--------------------------------------------------------------------------
*/

html,
body,
#app,
.app-layout,
.page {

    overflow-x: hidden;
}

/*
|--------------------------------------------------------------------------
| SCROLL CONTAINERS
|--------------------------------------------------------------------------
*/

body {

    overflow-y: auto !important;
}

#app,
.app-layout,
.app-content {

    height: auto !important;

    max-height: none !important;
}

/*
|--------------------------------------------------------------------------
| GLOBAL DOCUMENT SCROLL
|--------------------------------------------------------------------------
*/

html,
body {

    overflow-x: hidden;

    overflow-y: auto !important;
}

/*
|--------------------------------------------------------------------------
| APP
|--------------------------------------------------------------------------
*/

#app,
.app-layout {

    width: 100%;

    min-height: 100vh;

    height: auto !important;

    overflow: visible !important;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 1200px) {

    .navbar {
        padding:
            0
            20px;
    }

    .app-content {
        padding:
            88px
            20px
            20px;
    }
}

@media (max-width: 900px) {

    .navbar-nav {
        display: none;
    }
}

@media (max-width: 768px) {

    .navbar {
        height: 76px;
    }

    .app-content {
        padding-top: 76px;
    }

    .page-title {
        font-size: 28px;
    }

    .navbar-stats {
        display: none;
    }

    .navbar-profile-name {
        display: none;
    }

    .navbar-profile-level {
        display: none;
    }

    .navbar-profile {
        padding:
            0
            10px;
    }
}