body, html {
    overflow: visible;
}

.btn-primary .btn-small {
    background-color: #d73715 !important;
    border-color: #0B2F9F !important;
    font-size: 0.875rem;
    font-weight: bold; /* Texto siempre en negrita */
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    border-width: 3px; /* Hacer el borde más ancho */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Sombra */
    width: 100px; /* Ancho específico */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Transición suave */
}

.btn-primary:hover {
    background-color: #d73715 !important; /* Un verde más oscuro al pasar el mouse */
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3); /* Aumentar la sombra */
    transform: translateY(-2px); /* Levantar un poco el botón */
}

.btn-primary:active {
    transform: translateY(0); /* Restaurar la posición al presionar */
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Reducir la sombra */
}

h1, h2, h3, h4, h5, h6 {
    color: #0B2F9F; /* Color azul */
    font-family: inherit; /* Mantener la fuente heredada */
    margin: 0; /* Opcional: ajustar el margen según tu diseño */
    padding: 0; /* Opcional: ajustar el relleno según tu diseño */
}


@media screen and (max-width: 768px) {
    .radzen-grid-table {
        display: block;
    }

        .radzen-grid-table tbody {
            display: block;
        }

        .radzen-grid-table tr {
            display: flex;
            flex-direction: column;
            border: 1px solid #ddd;
            margin-bottom: 10px;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
            background: white;
        }

        .radzen-grid-table td,
        .radzen-grid-table th {
            display: block;
            text-align: left;
            padding: 5px;
            width: 100%;
        }

        .radzen-grid-table th {
            font-weight: bold;
            background: #f8f9fa;
        }

    .acciones {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
}


.rz-navigation-item-icon {
    color: #0B2F9F !important;
}

.rz-sidebar-toggle {
    background-color: #0B2F9F !important; /* Cambia #FF6600 por el color deseado */
    border-radius:45px;
}

.rz-button.rz-variant-text.rz-secondary {
    background-color: #0B2F9F !important;
}

.rz-primary {
    background-color: #d73715 !important;
    border-color: #0B2F9F !important;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    border-width: 3px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0.3, 0.6);
}

.modal.show {
    display: block !important;
    z-index: 1050 !important; 
}

.modal-backdrop {
    z-index: 1040 !important; 
}

.modal-dialog {
    z-index: 1055 !important; 
}

.modal-footer {
    display: block !important;
}

.modal-backdrop {
    display: none !important;
}

.rz-text-subtitle2 {
    color: #0B2F9F !important; 
}

.rz-tabview-title {
    font-size: 10px;
    color: #0B2F9F !important; 
}

.rz-tabview-nav .rz-tabview-selected {
    color: #FF6600 !important;
}

.rz-tabview.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    border-top-width: 0;
    border-bottom: 2px solid #FF6600;
}

.rz-fileupload-row {
    color: white !important;
}

.rz-button-icon-only {
    color: white !important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}

.rz-dialog-mask {
    height: 0;
}


.custom-dialog-side {
    z-index: 1000 !important; /* Asegura que esté por debajo del VerDocumento */
    position: fixed !important;
    top: 0;
    right: 0; /* Cambiado de -400px a 0 para que no se desplace fuera de la pantalla */
    width: 500px; /* Ancho fijo */
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out; /* Suaviza la animación */
}

/* Estilo para el TopDialog (VerDocumento) */
.custom-dialog-top {
    z-index: 1100 !important; /* Asegura que se muestre por encima del SideDialog */
    position: fixed !important;
    top: auto;
    left: 50%;
    transform: translate(-50%, 0); /* Centra el diálogo */
    height: auto;
    width: 80%;
    max-width: 600px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}


/* Animación para el efecto de deslizamiento */
@keyframes slideIn {
    from {
        right: -400px; /* Desde fuera de la pantalla */
    }

    to {
        right: 0; /* A su posición final */
    }
}

/* Animación para cerrar el componente (opcional) */
.custom-dialog-side-close {
    animation: slideOut 0.3s forwards;
}

@keyframes slideOut {
    from {
        right: 0;
    }

    to {
        right: -400px;
    }
}

.border-orange {
    border: 2px solid #d73715 !important;
    border-radius: 5px;
}

.btn-orange {
    background-color: #d73715;
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    padding: 12px;
    transition: background-color 0.3s ease;
}

    .btn-orange:hover {
        background-color: #d73715;
    }

.input-group-text {
    background-color: #d73715;
    color: white;
    border: none;
}

.form-label {
    color: #0B2F9F;
    font-weight: bold;
}

.text-danger {
    font-size: 0.875rem;
}

.alert-icon {
    margin-right: 10px;
}
.pagePersonalizado .rz-pager-page .rz-state-active {
    background-color: blue !important;
    color: white !important;
}
