﻿body {
    font-size: small !important;
}

.brand-link .brand-image {
    max-height: 48px;
    float: none;
}

.logo {
    background-color: #f2f2f2 !important;
    padding: 5px;
    border-bottom: none !important;
    text-align: center;
}

    .logo img {
        max-height: 45px;
        float: none;
    }


.logo-cliente {
    background: radial-gradient(#1f66af, #004f9d ) !important;
    border-top: 2px solid #4b545c !important;
    text-align: center;
}

    .logo-cliente img {
        max-height: 45px;
        float: none;
    }

body.dark-mode .logo, body.dark-mode .logo-cliente {
    background-color: transparent !important;
    background: transparent !important;
}

.sem-label {
    margin-top: 28px;
}

.multilinhas {
    resize: vertical;
    min-height: 100px;
}

.material-switch {
    /*margin: 5px 0 0px 15px;*/
}

    .material-switch > label {
        cursor: pointer;
        height: 0px;
        position: relative;
        width: 40px;
    }


    .material-switch > input[type="checkbox"] {
        display: none;
    }

    .material-switch > label::before {
        /* background-color: #dc3545; */
        /* border-color: #921925; */
        box-shadow: inset 0px 0px 10px rgb(0 0 0 / 50%);
        border-radius: 8px;
        content: '';
        height: 16px;
        margin-top: -8px;
        position: absolute;
        transition: all 0.4s ease-in-out;
        width: 30px;
    }

    .material-switch > label::after {
        /* background: #7c151f; */
        border-radius: 16px;
        box-shadow: 0px 0px 5px rgb(0 0 0 / 65%);
        content: '';
        height: 12px;
        left: 3px;
        margin-top: -2px;
        position: absolute;
        top: -4px;
        transition: all 0.3s ease-in-out;
        width: 12px;
    }

    .material-switch > input[type="checkbox"]:checked + label::before {
        /*background: inherit;*/
        background-color: #28a745;
        border-color: #145523;
        /*opacity: 0.5;*/
    }

    .material-switch > input[type="checkbox"]:checked + label::after {
        /*background: inherit;*/
        background-color: #86e29b;
        left: 16px;
    }

/*.label-success {
    background-color: #5cb85c;
}*/

.logo-login {
    max-width: 250px;
}

ul {
    list-style: none;
    margin-bottom: 0;
}

.dx-treelist-table > tbody > .dx-header-row, .dx-header-row {
    color: #fff;
    background-color: #212529;
    border-color: #383f45;
}

.dx-state-hover {
    background-color: #cfcfcf;
}

.dx-selection {
    background-color: transparent;
}

table {
    width: 100% !important;
}

.notyf {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.select2-container {
    width: 100% !important;
}

.login-page, .register-page {
    -ms-flex-align: center;
    align-items: center;
    background-image: url(/img/imagem_fundo.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem; /* espaçamento horizontal e vertical */
    justify-content: flex-start;
}

    .btn-grid .btn {
        flex: 0 0 auto; /* evita que os botões estiquem */
    }

.dx-state-hover {
    background-color: transparent !important;
}

.dx-header-row td {
    text-align: center !important;
}

.dark-mode input:-webkit-autofill, .dark-mode input:-webkit-autofill:focus, .dark-mode input:-webkit-autofill:hover, .dark-mode select:-webkit-autofill, .dark-mode select:-webkit-autofill:focus, .dark-mode select:-webkit-autofill:hover, .dark-mode textarea:-webkit-autofill, .dark-mode textarea:-webkit-autofill:focus, .dark-mode textarea:-webkit-autofill:hover {
    -webkit-text-fill-color: #343a40 !important;
}

.section-card {
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background-color: #f9f9f9;
}

.section-header {
    background-color: #e6e6e6;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 10px;
    color: #333;
    margin-bottom: 10px;
}