body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.btn-primary {
    background-color: #0047BB;
    border-color: #0047BB;
}

.select-error {
    border-color: red;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.wrapper {
    display: flex;
    width: 100%;
}

#menu-toggle {
    display: none;
    position: fixed;
    top: 5px;
    left: 5px;
}

#menu-toggle i {
    font-size: 25px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 215px;
    height: 100vh;
    z-index: 999;
    background: #28282B;
    padding: 10px;
    box-shadow: 1px 0px 10px 1px #000000;
}

.sidebar .logo {
    width: 180px;
}

.sidebar ul {
    margin: 0;
    margin-top: 10px;
    padding: 0;
}

.sidebar ul li {
    list-style: none;
    padding: 10px 5px;
    margin: 0;
}

.sidebar a {
    color: #e0e0e0;
    text-decoration: none;
}

.content {
    width: calc(100% - 215px);
    margin-left: 215px;
}

.content-no-margin {
    width: 100%;
    margin-left: 0px;
}

th,
td {
    line-height: 30px;
}

textarea {
    resize: none;
}

.tag-status {
    font-weight: bold;
    text-transform: uppercase;
}

.orders-color-pending {
    color: red !important;
}

.orders-color-pendingPayment {
    color: blue !important;
}

.orders-color-waiting {
    color: orange !important;
}

.orders-color-sent {
    color: green !important;
}

.tasks-color-delayed,
.tasks-color-on-time {
    color: red !important;
}

.tasks-color-on-time {
    color: orange !important;
}

.tasks-color-completed {
    color: green !important;
}

.leads-color-pending {
    color: orange !important;
}

.leads-color-success {
    color: green !important;
}

.leads-color-failed {
    color: blue !important;
}

.leads-color-error {
    color: red !important;
}

.table-fixed-header {
    overflow: scroll;
    max-height: 70vh;
}

.table-fixed-header thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: white;
}

.table-fixed-header table {
    font-size: 12px !important;
}

.login-logo {
    width: 60%;
    max-width: 250px;
}

.client-page {
    padding-bottom: 16px;
}

.client-page-header {
    gap: 12px;
    flex-wrap: wrap;
}

.client-title {
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;
}

.client-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.client-actions a {
    margin-left: 0 !important;
}

.client-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.section-title {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.client-table-wrap {
    overflow-x: auto;
}

.client-page th,
.client-page td {
    line-height: 1.35rem;
    white-space: nowrap;
    vertical-align: middle;
}

@media (max-width: 800px) {
    .sidebar {
        display: none;
        width: 100%;
        height: 100vh;
    }

    #menu-toggle {
        display: block;
    }

    .content {
        margin-top: 20px;
        width: 100%;
        margin-left: 0px;
    }

    .client-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }
}
