:root {
    --primary: #c4213e;
    --secondary: #afbad0;
    --accent: #162742;
    --background: #fafafa;
    --on_primary: #fafafa;
    --success: #00bc35;
    --warn: #cab600;
    --error: #bc0000;
    --info: #009abc;
}
.sidebar {
    width: 25%;
    height: 100vh;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (max-width: 1400px) {
    .sidebar,
    .login-sidebar {
        width: 35%;
    }

    .content {
        width: 65%;
    }
}
div.row.m-0 {
    margin: 0;
    display: flex;
    justify-content: end;
}
body {
    display: flex;
    flex-direction: row;
    background-color: var(--background);
    margin: 0;
}
#sidebar {
    height: 100vh;
    background: var(--primary);
    position: relative;
}

#sidebar .user-card {
    display: flex;
    flex-direction: column;
    background: #a81831;
    padding: 11px;
    color: var(--on_primary);
}

#sidebar header {
    font-size: 20px;
    line-height: 52px;
    text-align: center;
    margin: 11px;
}

#sidebar header a {
    color: #fff;
    display: block;
    text-decoration: none;
}

#sidebar header a:hover {
    color: #fff;
}

#sidebar .nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    scrollbar-color: var(--secondary) var(--main);
    scrollbar-width: thin;
}

#sidebar .nav-ns {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#sidebar .nav a {
    height: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--on_primary);
    font-size: 15pt;
    margin-left: 20px;
    overflow-y: auto;
}

#sidebar .nav a:hover {
    background: var(--on_primary);
    color: var(--primary);
}

#sidebar .nav a i {
    margin-right: 20px;
    font-size: 25px;
}

.end-session {
    position: fixed;
    bottom: 15px;
}
.dhc-navbar-list li.nav-item {
    background-color: var(--primary);
    padding: 10px 10px 10px 20px;
}
.dhc-navbar-list li.nav-item a {
    color: white;
}
.dhc-navbar-list li.nav-item:hover {
    background-color: white;
}
.dhc-navbar-list li.nav-item:hover a {
    color: var(--primary);
}
content {
    width: 100%;
    height: 100vh;
    overflow-x: auto;
    overflow-y: auto;
    padding: 75px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
content form {
    display: flex;
    flex-direction: column;
    height: 100%;
}
body {
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
}
.body-login {
    background: rgb(194, 33, 62);
    background: linear-gradient(97deg, rgba(194, 33, 62, 1) 0%, rgba(142, 5, 29, 1) 100%);
    margin: auto;
    height: 100vh;
    display: grid;
    place-content: center;
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
}
.login-container {
    background-color: var(--background);
    display: flex;
    flex-direction: row;
    box-shadow: 0px 5px 84px 0px #4a0000;
}
.home-banner {
    height: auto;
    background: var(--accent);
}
.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 61px;
}
.login-form-group {
    width: 370px;
    height: 55px;
    display: flex;
    justify-content: center;
}
.login-form-control {
    width: 370px;
    height: 55px;
    border: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-bottom: solid 3px var(--primary);
    background: transparent;
    font-size: 15pt;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    padding-left: 15px;
}
.login-form-control:focus {
    outline: 2px solid var(--primary);
}
.login-form-control[type="number"] {
    -moz-appearance: textfield;
	appearance: textfield;
}
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.round-button {
    font-size: 15pt;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    background: var(--primary);
    color: var(--on_primary);
    padding: 16px 50px;
    border: 0;
    border-radius: 50px;
}
.my-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.my-form input {
    border: 0;
    height: 53px;
    background: #f0f0f0;
}

.dhc-card .my-form input {
    border: 0;
    height: 53px;
    background: #fafafa;
}

.card .my-form input {
    border: 0;
    height: 53px;
    background: #fafafa;
}

.my-form input[type="checkbox"] {
    border: 0;
    height: auto;
    background: #f0f0f0;
}

.my-form input[type="submit"] {
    border: 0;
    height: 53px;
    text-align: center;
    font-size: 15pt;
    color: var(--on_primary);
    background: var(--primary);
}

.my-form a[type="link-button"] {
    border: 0;
    height: 53px;
    min-width: 200px;
    font-size: 15pt;
    color: var(--on_primary);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.my-form select {
    border: 0;
    height: 53px;
    width: -moz-available;
    background: #f0f0f0;
}
.dhc-card .my-form select {
    border: 0;
    height: 53px;
    background: #fafafa;
}
.card .my-form select {
    border: 0;
    height: 53px;
    background: #fafafa;
}
.my-form textarea {
    border: 0;
    height: 53px;
    background: #f0f0f0;
}
.dhc-card .my-form textarea {
    border: 0;
    height: 53px;
    background: #fafafa;
}
.card .my-form textarea {
    border: 0;
    height: 53px;
    background: #fafafa;
}
.center {
    display: flex;
    justify-content: center;
    float: center;
}
.form-control:focus {
    box-shadow: none;
    border: gray solid 2px;
}
.title-bar {
    background: #e9eef6;
    min-height: 50px;
    display: flex;
    align-items: center;
    font-size: 15pt;
}
input[type="file"] {
    display: none;
}
.custom-file-upload {
    display: inline-block;
    padding: 6px 30px;
    cursor: pointer;
    background: var(--accent);
    color: white;
    margin: 0;
    width: max-content;
    display: flex;
    align-items: center;
}
.file-back {
    height: 53px;
    background: red;
    display: flex;
    flex-direction: row;
    background: #f0f0f0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    border-radius: 4px;
}
.dhc-card .file-back {
    height: 53px;
    display: flex;
    flex-direction: row;
    background: #fafafa;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    border-radius: 4px;
}
.card .file-back {
    height: 53px;
    display: flex;
    flex-direction: row;
    background: #fafafa;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    border-radius: 4px;
}
.file-text {
    width: -moz-available;

    display: flex;
    align-items: center;
    padding-left: 12px;
}
.table-title {
    background: var(--primary);
    color: var(--on_primary);
    font-size: 20pt;
}
.table-head {
    background: var(--primary);
    color: var(--on_primary);
}
.table-row {
    border: none;
}
.table-row th {
    font-weight: inherit;
    border: none;
}
.table-body {
    font-size: 10pt;
}

.filter-button {
    height: 40px;
    color: var(--primary);
    background: var(--on_primary);
    font-size: 15pt;
    padding: 0px 50px;
    border: none;
}
.my-form .filter-input {
    height: 40px;
    color: #808080;
    background: var(--on_primary);
    font-size: 15pt;
    border: none;
    padding-left: 15px;
    width: -moz-available;
    border-radius: 4px;
}
.my-form .filter-button {
    height: 40px;
    color: #808080;
    background: var(--on_primary);
    font-size: 15pt;
    border: none;
    padding-left: 15px;
    width: -moz-available;
    border-radius: 4px;
}
.table-filter {
    background: var(--primary);
    padding: 10px;
    font-size: 15pt;
    border-bottom: solid 2px #b90f2e;
}
.flex-row {
    display: flex;
    flex-direction: row;
}
.flex-row-reverse {
    display: flex;
    flex-direction: row-reverse;
}
.flex-spread {
    display: flex;
    justify-content: space-between;
}
.dhc-card {
    background: #e9eef6;
}
.card {
    background: #e9eef6;
    padding: 40px 30px;
}
.dhc-card .title {
    font-size: 14pt;
}
.card .title {
    font-size: 14pt;
}

.col-gap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

tbody tr:nth-child(odd) {
    background: #e9eef6;
}
tbody tr:nth-child(odd):hover {
    background: #dae2f1;
}
tbody tr:hover {
    background: #dae2f1;
}
.spacer {
    display: block;
    height: 70px;
}
.badge {
    height: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min-content;
    border-radius: 30px;
    background: transparent;
}
.badge-dot {
    width: 15px;
    height: 15px;
    border-radius: 20px;
}
.badge-valid {
    color: #40c057;
}
.badge-invalid {
    color: #fa5252;
}
.badge-pending {
    color: #228be6;
}
.badge-valid .badge-dot {
    background: #40c057;
}
.badge-invalid .badge-dot {
    background: #fa5252;
}
.badge-pending .badge-dot {
    background: #228be6;
}
.cel-center {
    align-items: center;
}
.icon-button {
    background: transparent;
    font-size: 15pt;
    width: auto;
    height: auto;
    border: none;
}
.hidden-button {
    color: transparent;
}

/* Mostrar o botão quando a linha estiver em hover */
tr:hover .hidden-button {
    color: var(--accent);
}
.color-accent {
    color: var(--accent);
}
.color-on-primary {
    color: var(--on_primary);
}
.row-gap {
    display: flex;
    justify-content: space-between;
}
.col-center {
    display: flex;
    justify-content: center;
}

.c-toast {
    background: white;
    position: absolute;
    z-index: 99999;
    right: 20px;
    top: 20px;
    display: flex;
    flex-direction: row;
    padding: 35px;
    border-radius: 4px;
    box-shadow: 0px 5px 20px 0px #4a0000;
    gap: 30px;
}
.toast-divider {
    width: 1px;
    background: gray;
}
.toast-icon {
    display: grid;
    place-content: center;
    font-size: 30pt;
    color: var(--error);
}
.toast-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast-title {
    font-size: 16pt;
    font-weight: bold;
}
.toast-message {
    font-size: 15px;
    color: #808080;
}
.toast-close {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #808080;
    font-size: 12pt;
}

@media (max-aspect-ratio: 1) {
    body {
        flex-direction: column;
    }
    #sidebar {
        height: auto;
        width: 100%;
        position: relative;
    }
    .end-session {
        position: relative;
    }
    .login-container {
        flex-direction: column;
    }
    .home-banner {
        display: none;
    }
    .login-form {
        margin: 20px;
    }
}
.excel {
    background: transparent;
    border: 0;
    color: #337ab7;
    text-align: left;
}
