﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* margin-bottom: 60px;*/
    height: 100%;
}

body.loading::before {
    /* Fondo negro transparente */
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

body.loading::after {
    /* Spinner */
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border: 6px solid #fff;
    border-top: 6px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9999;
}

.loading-text {
    position: fixed;
    top: calc(50% + 60px); /* debajo del spinner */
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5em;
    z-index: 10000;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-container {
    background-image: url("/images/bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
}

li.dt-paging-button.page-item:not(.active) .page-link {
    background-color: #f0f0f0 !important; /* fondo gris claro */
    color: #333 !important; /* texto oscuro */
    border: 1px solid #ccc !important;
}

    li.dt-paging-button.page-item:not(.active) .page-link:hover {
        background-color: #d0d0d0 !important; /* fondo más oscuro al pasar el mouse */
        color: #000 !important;
    }

.notifyjs-bootstrap-base {
    font-weight: normal !important;
    text-shadow: none !important;
    padding-left: 15px !important;
    background-image: none !important;
}

.notifyjs-bootstrap-success,
.notifyjs-bootstrap-error,
.notifyjs-bootstrap-info,
.notifyjs-bootstrap-warn {
    background-image: none !important;
}

li.dt-paging-button.page-item.active .page-link {
    background-color: #1d6b7a !important; /* color uva */
    color: white !important;
    border-color: #6f2da8 !important;
}
