.main {
    padding-top: 30px;
    background-color: #f9fafb;
    min-height: 100vh;
}

.loading {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    transition-duration: .5s;
}

.loading.active {
    top: -100%;
}

.list-group-item:empty {
    display: none;
}

.row {
    align-items: flex-start;
}

.send_form_button i {
    font-size: 12px;
    transition-duration: transform .35s;
}

.title {
    margin-bottom: 0;
}

.alert {
    display: flex;
    gap: 10px;
    align-items: center;
}

.noflex {
    display: block;
}

.send_form_button:hover i {
    transform: translateX(2px);
}

.logo_header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-body {
    overflow-x: auto;
}

.toast {
    transition-duration: .35s;
    transition-timing-function: ease-in-out;
    bottom: 30px;
    left: 30px;
}

.toast:not(.show) {
    display: block !important;
    transform: translateY(1000px);
}

.toast.show {
    transform: translateY(0);
}

.notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    transform: translateY(1000%);
    opacity: 0;
    z-index: 10;
    transition-duration: .35s;
}

.notification.active {
    transform: translateY(0);
    opacity: 1;
}

.error_notification {
    background-color: #dc3545;
    color: #fff;
}

.success_notification {
    background-color: #198754;
    color: #fff;
}

.refresh_data {
    display: inline-flex;
    padding: 10px;
    box-sizing: border-box;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #0000002d;
}

.refresh_data img {
    transition-duration: .35s;
    width: 20px;
}

.refresh_data:hover img {
    transform: rotate(180deg);
}

.header_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    padding: 20px 0;
    box-sizing: border-box;
    background-color: #fff;
    width: 100%;
    z-index: 10;
    border: 1px solid #d5d5d5;
    display: none;
}

.menu_opener {
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.menu_opener span {
    width: 25px;
    height: 2px;
    background-color: #333;
}

header a {
    color: #333;
    text-decoration: none;
}

.mobile_menu_back {
    position: fixed;
    background-color: rgba(0,0,0,.3);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    display: none;
}

.mobile_menu_back.active {
    display: block;
}

.mobile_menu {
    width: 300px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    height: 100%;
    overflow-y: auto;
    transition-duration: .35s;
    transform: translateX(-100%);
    transition-timing-function: cubic-bezier(0.66, 0, 0.34, 1);
}

.mobile_menu.active {
    transform: translateX(0);
}

.mobile_menu_points a {
    display: block;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    text-decoration: none;
}

.header_out {
    font-weight: 700;
    color: red;
}

.return_back {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.return_back img {
    width: 15px;
    transition-duration: .35s;
}

.return_back:hover img {
    transform: translateX(-3px);
}

.app_background {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    /* border: 1px solid #e5e7eb; */
}

.main_inner {
    padding: 15px;
    box-sizing: border-box;
}

.main_header {
    width: 100%;
    padding: 15px 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e7eb;
}

.main_row {
    align-items: stretch;
}

.sidebar {
    position: sticky;
    top: 70px;
    border-radius: 10px 0 0 10px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background-color: #1c2333;
    height: 100%;
}

.side_menu_header {
    color: #fff;
    font-size: 30px;
    padding: 10px 20px;
    box-sizing: border-box;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle_menu {
    cursor: pointer;
    font-size: 18px;
    padding: 10px;
}

.sidebar_menu {
    padding: 10px;
}

.sidebar_menu a {
    padding: 10px;
    padding-right: 15px;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition-duration: .1s;
    gap: 10px;
    border-radius: 8px;
}

.sidebar_menu a i {
    transition-duration: .15s;
    opacity: .5;
    font-size: 12px;
}

.sidebar_menu a:hover {
    background-color: #fff;
    color: #1c2333;
}

.sidebar_menu a:hover i {
    transform: translateX(4px);
    opacity: 1;
}

.sidebar_menu a:last-child {
    border: none;
}

.section_header {
    /* padding: 10px; */
    /* background-color: #13795b; */
    /* color: #fff; */
    font-size: 22px;
    font-weight: 700;
    /* border-radius: 8px; */
}

.card {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.delivery_info_elem_body {
    padding: 10px;
    border-radius: 8px;
    box-sizing: border-box;
}

.proceeds_info_elem {
    padding: 0 10px;
    box-sizing: border-box;
}

.proceeds_info_elem_body {
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
}

.proceeds_input {
    box-sizing: border-box;
    font-size: 30px;
    font-weight: 700;
    width: 100%;
    background-color: transparent;
    border: none;
    outline: none;
}

.delivery_info_rate {
    background-color: #344C11;
    color: #fff;
}

.delivery_info_deliveries {
    background-color: #00457E;
    color: #fff;
}

.delivery_info_elem_deliveries {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 0;
    outline: none;
    color: #fff;
}

.delivery_info_tarifications {
    background-color: #00718F;
    color: #fff;
}

.delivery_info_sum {
    background-color: #CFDBDA;
    color: #333;
}

.delivery_info_elem_title {
    font-size: 18px;
    font-weight: 300;
}

.delivery_info_elem_value {
    font-size: 30px; 
    font-weight: 700;
    display: block;
}

.calendar_grid {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
}

.calendar_date {
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #d5d5d5;
    position: relative;
    text-align: center;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar_date_date {
    font-size: 9px;
    opacity: .7;
    position: absolute;
    top: 0px;
    left: 0px;
}

.deduction_users {
    width: 100%;
    height: 200px;
    overflow-y: auto;
}

.loading_screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(25px);
    display: none;
}

.loading_screen.active {
    display: flex;
}

.footer_info {
    padding: 20px 0;
    box-sizing: border-box;
}

.deliveries_stats_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.deliveries_header_value {
    opacity: .5;
}

.deliveries_stats_body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    padding: 0 10px 10px 10px;
    box-sizing: border-box;
}

.delivery_elem {
    color: #fff;
    background-color: #1c2333;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 10px;
    text-align: right;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.delivery_elem.transparent {
    background-color: transparent;
    color: #1c2333;
}

@media (max-width: 760px) {
    .calendar_grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 400px) {
    .calendar_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media print {
    .noprint,
    .dataTables_length,
    .dataTables_filter,
    .dataTables_info,
    .dataTables_paginate,
    .section_header, 
    .sorting::before,
    .sorting::after {
        display: none !important;
    }

    .main {
        padding-top: 30px;
    }

    .container {
        max-width: 100% !important;
    }

    .card {
        box-shadow: none;
    }
}

@media screen and (max-width: 766px) {
    .sidebar {
        display: none;
    }

    header {
        display: block;
    }

    .menu_opener {
        display: flex;
    }
}

@media screen and (max-width: 576px) {
    .sidebar {
        position: static;
    }
}