@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    /* Bootstrap primary */
    --bs-primary: #0b4da2;
    --bs-primary-rgb: 11, 77, 162;
    /* DevExpress */
    --dxbl-primary: #0b4da2;
    --dxbl-primary-hover: #083e83;
    --dxbl-primary-border: #07356f;
}

.dxbl-btn-primary {
    background-color: #0b4da2 !important;
    border-color: #07356f !important;
}

.dxbl-btn-primary:hover {
    background-color: #083e83 !important;
}


.dxbl-btn-danger,
.btn-danger {
    background-color: #0b4da2 !important;
    border-color: #07356f !important;
    color: #fff !important;
}

.dxbl-btn-danger:hover,
.btn-danger:hover {
    background-color: #083e83 !important;
    border-color: #062f62 !important;
}

.btn-outline-danger {
    color: #0b4da2 !important;
    border-color: #0b4da2 !important;
}

.btn-outline-danger:hover {
    background-color: #0b4da2 !important;
    border-color: #0b4da2 !important;
    color: #fff !important;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

/*popup: crud pessoa (cliente, usuario, fornecedor, transportadora)*/
.row-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.field {
    display: flex;
    flex-direction: column;
}

    .field label {
        font-weight: 600;
        margin-bottom: 4px;
    }

    .field .dxbl-textbox,
    .field .dxbl-combobox,
    .field .dxbl-dateedit,
    .field .dxbl-memo {
        width: 100% !important;
    }

.tab-content {
    margin-top: 15px;
}

/*CategoriaPopup*/
.grid-1 {
    display: grid;
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
}

    .field label {
        font-weight: 600;
    }

/* SIDEBAR BASE */
#sidebar {
    background: linear-gradient(180deg, #0b4da2, #072f66);
    color: white;
}

    #sidebar.collapsed .dxbl-menu-item-text {
        display: none;
    }

/* MENU */
.menu {
    padding: 10px;
}

    /* ITEM */
    .menu .dxbl-menu-item {
        border-radius: 8px;
        margin-bottom: 4px;
        padding: 8px 10px;
        transition: all 0.2s ease;
    }

    /* TEXTO */
    .menu .dxbl-menu-item-text {
        color: white !important;
        font-weight: 500;
    }

    /* ÍCONE */
    .menu .dxbl-menu-item-icon {
        color: white !important;
        margin-right: 8px;
    }

    /* HOVER */
    .menu .dxbl-menu-item:hover {
        background-color: rgba(255, 255, 255, 0.15);
        cursor: pointer;
    }

    /* ITEM ATIVO */
    .menu .dxbl-menu-item-active {
        background-color: rgba(255, 255, 255, 0.25);
        font-weight: 600;
    }

    /* SUBMENU */
    .menu .dxbl-menu-submenu {
        margin-left: 10px;
    }

    /* SETA DO SUBMENU */
    .menu .dxbl-menu-item-expand-icon {
        color: white !important;
    }

/*.menu {
    padding: 10px;
}

    .menu .dxbl-menu-item-text {
        color: white !important;
    }

    .menu .dxbl-menu-item-icon {
        color: white !important;
    }

    .menu .dxbl-menu-item-active {
        background-color: rgba(255,255,255,0.1);
        border-radius: 6px;
    }*/
/* Popup labels/captions: keep bold by default for all popup forms */
.dxbl-popup .dxbl-fl-cpt,
.dxbl-popup .dxbl-fl-caption,
.dxbl-popup .dxbl-form-layout-item-caption,
.dxbl-popup .field > label,
.dxbl-popup label {
    font-weight: 700 !important;
}

