:root {
    --bs-border-radius: 0.6rem;
    --text-color: var(--bs-gray-700) !important;
    --main-bg: #FCFCFD !important;
    --menu-text: var(--bs-gray-700) !important;
    --menu-darker-bg: var(--bs-white) !important;
    --menu-active-bg: var(--bs-gray-50) !important;
}

body {
    --bs-gray-50: #F9FAFB;
    --bs-gray-200: #eaecf0;
    --bs-gray-300: #DDD5DD;
    --bs-gray-400: #98A2B3;
    --bs-gray-500: #667085;
    --bs-gray-600: #475467;
    --bs-gray-700: #344054;
    --bs-gray-900: #101828;
}

html body {
    font-family: "Inter", Arial, Helvetica, sans-serif !important;
}

body h6,
body .h6,
body h5,
body .h5,
body h4,
body .h4,
body h3,
body .h3,
body h2,
body .h2,
body h1,
body .h1 {
    font-weight: 600;
}

/* Alterar tamanho fonte base */
body .choices[data-type*="select-one"] .choices__inner,
body .form-control {
    font-size: 1.143rem;
}

body .btn {
    padding: .625rem 1.143rem;
    box-shadow: (120, 57, 238, 0.1) 0px 7px 30px -10px;
}

body .btn-sm {
    padding: 0.571rem 1rem;
}

body .btn,
body .input-group-text,
body .form-control,
body .choices div.choices__inner {
    border-radius: var(--bs-border-radius);
    box-shadow: rgba(16, 24, 40, 0.05) 0px 1px 2px 0px;
}

body .btn {
    font-weight: 600;
}

body .btn[href*="_export_"],
body .btn[href*="_export_"] + .dropdown-toggle,
body .btn-light,
body .btn-filter,
body .grid-column-selector .btn-primary {
    color: var(--bs-gray-700);
    background-color: #fff;
    border-color: #D0D5DD;
}

body .btn[href*="_export_"]:hover,
body .btn[href*="_export_"] + .dropdown-toggle:focus,
body .btn-light:hover,
body .btn-light:focus,
body .btn-filter:hover,
body .btn-filter:focus,
body .grid-column-selector .btn-primary:hover,
body .grid-column-selector .btn-primary:focus {
    color: var(--bs-gray-700);
    background-color: #F9FAFB;
    border-color: #D0D5DD;
}

body .btn[href*="_export_"]:focus,
body .btn[href*="_export_"] + .dropdown-toggle:focus,
body .btn-light:focus,
body .btn-filter:focus,
body .grid-column-selector .btn-primary:focus {
    box-shadow: 0 0 0 0.143rem #fff, 0 0 0 0.286rem var(--bs-primary);
}

body .dropdown-menu {
    min-width: 14rem;
    border-radius: 0.571rem;
    box-shadow: 0px 4px 6px -2px #10182808, 0px 12px 16px -4px #10182814;
    border-color: var(--bs-gray-200);
}

body .dropdown-item {
    font-weight: 500;
}

body label {
    font-weight: 500;
}

body .form-label {
    color: var(--bs-gray-700);
    font-weight: 600;
}

body main .choices > .choices__inner {
    padding: 0.571rem 1rem !important;
    border-color: var(--bs-gray-300);
}
body .form-control {
    padding: 0.571rem 1rem;
    border-color: var(--bs-gray-300);
}

body .input-group-text {
    background-color: transparent;
    padding: 0.571rem 1rem;
    color: var(--bs-gray-500);
    border-color: var(--bs-gray-300);
}

body .input-group-text.with-icon {
    background-color: transparent;
}

[for="slug"] ~ div .input-group-text.with-icon {
    padding-inline: 16px 1px;
}

body .input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
body .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3) {
    border-right-width: 0;
}

body .input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left-width: 0;
}

body .content-header h1,
body .content-header .h1 {
    font-size: 2.143rem;
    color: var(--bs-gray-900);
}

.content-header h1 small {
    /* display: none; */
    display: block;
    margin: 8px 0 15px;
}

body .custom-navbar {
    box-shadow: none;
}

body .custom-navbar .navbar-brand,
body .custom-navbar .navbar-brand:hover {
    background-color: var(--bs-white);
    border-right: 1px solid var(--bs-gray-200);
}

body .custom-navbar .navbar-brand span {
    font-weight: 600;
    color: #101828;
    text-align: left;
    padding-left: 1.714rem;
    padding-right: 1.714rem;
}

body .custom-navbar>.header-items {
    background-color: var(--main-bg);
}

aside#sidebar {
    background-color: var(--bs-white);
    border-right: 1px solid var(--bs-gray-200);
}

.custom-menu>ul {
    --menu-bg: var(--bs-gray-50);
    font-size: 1.143rem;
    margin-left: 1.143rem;
    margin-right: 1.143rem;
}

.side-menu-closed .custom-menu>ul {
    margin-left: 0;
    margin-right: 0;
}

body .custom-menu ul li {
    border-radius: 0.571rem;
    border-left: none;
    padding: 0;
}

body .custom-menu ul li a {
    padding: 0.571rem 0.857rem;
}

body .custom-menu ul a.has-subs:after {
    right: 16px;
    top: 20px;
}

body .custom-menu>ul>li.active {
    border-left-width: 0;
}

body .custom-menu ul li:hover {
    background-color: var(--bs-gray-50);
}

body .custom-menu ul li a span {
    font-weight: 600;
    top: 0 !important;
}

body .custom-menu ul a:hover,
body .custom-menu ul a:active,
body .custom-menu ul a:focus,
body .custom-menu ul li>ul>li.active a,
body .custom-menu ul .active>a {
    color: #182230;
}

body .custom-menu ul a i {
    color: var(--bs-gray-500);
    font-size: 1.428rem;
}

body .custom-menu ul li ul {
    border-left-width: 0;
}

body .custom-menu ul li ul i {
    font-size: 0;
    margin-right: 1.714rem;
}

body .grid-table tr td {
    font-weight: 400;
}

body .card {
    box-shadow: rgba(16, 24, 40, 0.1) 0px 1px 3px 0px;
    border: 1px solid var(--bs-gray-200);
    border-radius: 0.857143rem;
}

body .card-header:first-child {
    border-radius: calc(0.857143rem - 1px) calc(0.857143rem - 1px) 0 0;
}

body .table tr th {
    background-color: transparent;
    font-weight: 500;
    color: var(--bs-gray-600);
    font-size: 0.857rem;
    line-height: 1;
    padding-top: 0.857rem;
    padding-bottom: 0.857rem;
}

body .table tr th.column-__row_selector__,
body .table tr td.column-__row_selector__ {
    font-size: 1.429rem;
}

body .table tr th.column-__row_selector__ input {
    margin-top: 0;
}

.badge {
    border-radius: .5rem;
}

.badge.bg-success {
    --bs-bg-opacity: .1;
    color: rgb(var(--bs-success-rgb));
    border: 1px solid rgba(var(--bs-success-rgb), .4);
}

.badge.bg-info {
    --bs-bg-opacity: .1;
    color: rgb(var(--bs-info-rgb));
    border: 1px solid rgba(var(--bs-info-rgb), .4);
}

.badge.bg-primary {
    --bs-bg-opacity: .1;
    color: rgb(var(--bs-primary-rgb));
    border: 1px solid rgba(var(--bs-primary-rgb), .4);
}

/* Sweet alert */
body .swal2-title {
    color: var(--bs-gray-700);
    font-size: 1.5rem;
}

body .swal2-popup {
    border-radius: .571429rem;
}

body .swal2-styled.swal2-confirm,
body .swal2-styled.swal2-cancel {
    border-radius: var(--bs-border-radius);
    font-weight: 600;
    box-shadow: rgba(16, 24, 40, 0.05) 0px 1px 2px 0px;
}

body .swal2-styled.swal2-cancel {
    color: var(--bs-gray-700);
    background-color: #fff;
    border: 1px solid var(--bs-gray-300);
}

.swal2-actions:not(.swal2-loading) .swal2-styled:hover {
    background-image: linear-gradient(var(--bs-gray-50), var(--bs-gray-50));
}

.content-header .breadcrumb-nav {
    visibility: hidden;
}

.card .card-body form:not(.form) .card-footer {
    margin-bottom: -14px;
    border-radius: 0 0 0.857143rem 0.857143rem;
}

body .form-control-plaintext.form-select {
  display: block;
  width: 100%;
  padding: .375rem 0;
  margin-bottom: 0;
  line-height: 1.5;
  color: #4d4d4d;
  background-color: transparent;
  border: solid transparent;
  border-width: 1px 0;
}


body .column-permissions .badge.bg-light {
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}
