html {
    font-size: 14px;
}

@media (min-width:768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: #f5f7fa;
}

/* Bootstrap focus */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 .1rem #fff, 0 0 0 .25rem #258cfb;
}


.main-logo {
    height: 72px;
    width: auto;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.brand-subtitle {
    color: #6c757d;
}

@media(max-width:991px) {

    #navbarMain {
        background: white;
        border-radius: 12px;
        padding: 10px;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.12);
    }

        #navbarMain .dropdown-menu {
            border: none;
            box-shadow: none;
            padding-left: 20px;
        }

        #navbarMain .nav-link {
            padding: .75rem 1rem;
            border-radius: 8px;
        }

            #navbarMain .nav-link:hover {
                background: #f5f5f5;
            }
}

@media(max-width:991px) {

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 4px;
    }
}

@media(max-width:768px) {

    .brand-subtitle {
        display: none;
    }

    .brand-title {
        font-size: 1.05rem;
    }
}

@media (max-width:991px) {

    .main-logo {
        height: 52px;
    }
}

@media (max-width:576px) {

    .main-logo {
        height: 40px;
    }
}


/* ===========================
   NAVBAR
   =========================== */

.navbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    min-height: 78px;
    box-shadow: 0 3px 10px rgba(0,0,0,.06);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0b5d3b !important;
}

    .navbar-brand img {
        height: 60px;
    }

.navbar-nav {
    gap: .35rem;
    margin-left: 2rem;
}

    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        gap: .45rem;
        color: #495057 !important;
        font-weight: 500;
        padding: .75rem 1rem !important;
        border-radius: .5rem;
        transition: all .2s ease;
    }

        .navbar-nav .nav-link:hover {
            background: #eef7f2;
            color: #0b5d3b !important;
        }

        .navbar-nav .nav-link.active {
            background: #e6f4ea;
            color: #0b5d3b !important;
            font-weight: 600;
        }

        .navbar-nav .nav-link i {
            font-size: 1rem;
            opacity: .8;
        }

.navbar .dropdown-toggle::after {
    margin-left: .5rem;
}

.navbar .dropdown-menu {
    border: none;
    border-radius: .75rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    padding: .5rem;
    min-width: 240px;
}

.navbar .dropdown-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-radius: .5rem;
    padding: .65rem .9rem;
    transition: .15s;
}

    .navbar .dropdown-item:hover {
        background: #eef7f2;
        color: #0b5d3b;
    }

.navbar .dropdown-divider {
    margin: .35rem 0;
}

.navbar-toggler {
    border: none;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar img {
    height: 52px;
}


.dashboard-card {
    position: relative;
    transition: .2s;
}

    .dashboard-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.12);
    }

.dashboard-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 2.4rem;
    color: #dee2e6;
}

.card {
    border-radius: 18px;
}

.shadow-lg {
    box-shadow: 0 15px 40px rgba(0,0,0,.08) !important;
}

.form-control {
    height: 50px;
    border-radius: 0 10px 10px 0;
}

.input-group-text {
    border-radius: 10px 0 0 10px;
}

.btn-success {
    background: #0e6b3d;
    border-color: #0e6b3d;
    border-radius: 10px;
    font-weight: 600;
}

    .btn-success:hover {
        background: #0a5b33;
        border-color: #0a5b33;
    }

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: .375rem;
}

.select2-container--default .select2-selection__rendered {
    line-height: 36px;
    padding-left: .75rem;
}

.select2-container--default .select2-selection__arrow {
    height: 36px;
}

/* ===========================
   CONTENT
   =========================== */

main {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: #fff;
    border-top: 1px solid #dee2e6;
}
