
/*html, body, #app {

}
*/

/*#app {
    height: 100vh !important;
    max-height: 100vh !important;
    box-sizing: border-box;
}

.mud-layout {
    height: 100vh !important;
    max-height: 100vh !important;
    box-sizing: border-box;
}*/

/*.mud-main-content {
    height: 100%;
}*/

/*#main-tabs .mud-tabs {
    height: 100%;
    display: flex;
    flex-direction: column;
}*/
/*
.mud-tabs-panels {
    min-height: 90%;
}*/

/*#main-tabs .mud-tabs-panels {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  height: 800px !important;
}

#main-tabs .mud-tabs-panels .pa-2 {
    flex-grow: 1 !important;
    height: 800px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
}*/
div::-webkit-scrollbar {
    width: 8px;
}

div::-webkit-scrollbar-track {
    background: #f1f1f1;
}

div::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

div::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.mud-table-toolbar {
    height: fit-content !important;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/*body {
    height: 100vh;
}*/

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93P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5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

#grid-productos .mud-table-container {
    width: 100% !important;
    max-width: 100% !important;
/*    height: 70vh !important;*/
    padding-bottom: 60px;
}

.viewer-container {
    height: calc(100vh - 120px);
}

#tabla-facturas .selected-row {
    background-color: #3ba2f4 !important;
}

#tabla-facturas .selected-row td {
    color: white !important;
}

#tabla-facturas .selected-row .mud-typography {
    color: white !important;
}

.accion-btn {
    padding: 6px;
}

.accion-btn .mud-icon-root {
    font-size: 1.5rem;
}

.coordinate-plane {
    position: relative;
    width: 500px;
    height: 500px;
    border: 1px solid #ccc;
}

.point {
    position: absolute;
    /* Map x and y from your 2D plane to CSS properties */
    left: calc(var(--x) * 1px);
    top: calc(var(--y) * 1px);
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    /* Centers the dot exactly on the (x,y) coordinate */
    transform: translate(-50%, -50%);
}

.bottom-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 0;
    background-color: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-lines-default);
    z-index: 1300;
}

#mesas-dialog {
    padding: 6px !important;
}

.select-personalizado .mud-input-root {
    font-size: clamp(11px, 1.1vmax, 13px) !important;
}
/* Esto cambia el tamaño de la etiqueta (Label) */
.select-personalizado .mud-input-label {
    font-size: clamp(11px, 1.1vmax, 13px) !important;
}

/*.black-header {
    background-color: #E5E7EB !important;
}

.black-header span {
    color: #4D4F4F !important;
}*/

#grid-productos .mud-toolbar button {
    display: none !important;
}

/* Hacer que el input expanda su altura según el texto */
/*.autocompletar-multilinea input {
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
}*/


.grid-toolbar-export {
    -webkit-mask-image: var(--dxbl-grid-toolbar-export);
    mask-image: var(--dxbl-grid-toolbar-export);
    opacity: var(--dxbl-icon-opacity);
    width: var(--dxbl-icon-width);
    height: var(--dxbl-icon-height);
    background-color: currentColor;
}


.grid-toolbar-document-csv {
    background-image: var(--dxbl-grid-toolbar-document-csv);
    opacity: var(--dxbl-icon-opacity);
    width: var(--dxbl-icon-width);
    height: var(--dxbl-icon-height);
}

.grid-toolbar-document-xlsx {
    background-image: var(--dxbl-grid-toolbar-document-xlsx);
    opacity: var(--dxbl-icon-opacity);
    width: var(--dxbl-icon-width);
    height: var(--dxbl-icon-height);
}

.grid-toolbar-document-xls {
    background-image: var(--dxbl-grid-toolbar-document-xls);
    opacity: var(--dxbl-icon-opacity);
    width: var(--dxbl-icon-width);
    height: var(--dxbl-icon-height);
}

.grid-toolbar-document-pdf {
    background-image: var(--dxbl-grid-toolbar-document-pdf);
    opacity: var(--dxbl-icon-opacity);
    width: var(--dxbl-icon-width);
    height: var(--dxbl-icon-height);
}

.barra1 {
    min-height: 28px !important;
    height: 28px !important;
}

    .barra1 .dxbl-toolbar {
        min-height: 28px !important;
        height: 28px !important;
    }

    .barra1 .dxbl-toolbar-items-container {
        min-height: 28px !important;
        height: 28px !important;
    }

    .barra1 .dxbl-toolbar-item {
        min-height: 28px !important;
        height: 28px !important;
    }

    .barra1 .dxbl-btn {
        min-height: 24px !important;
        height: 24px !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }

    .barra1 img {
        width: 16px !important;
        height: 16px !important;
    }

.grid-reporte .dxbl-grid-toolbar-container {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: 30px !important;
}

.grid-reporte .barra1 .dxbl-btn {
    min-height: 24px !important;
    height: 24px !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
}

.dxbl-grid-focused-row {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.3) !important;
/*    border-left: 5px solid rgba(var(--mud-palette-primary-rgb), 0.8) !important;*/
    color: var(--mud-palette-text-primary) !important;
    /*    color: whitesmoke !important;
    font-weight: bold !important;*/
}

@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 135deg;
    inherits: false;
}

.gradient-bg {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(var(--gradient-angle), #0d9488, #2563eb);
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    to {
        --gradient-angle: 495deg; /* 135deg + 360deg */
    }
}