html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: aliceblue;
}


.ocultar {
    display: none;
}

/*#region Login*/

.loader {
    /*background: url(./loader.gif) center center no-repeat;*/
    background-size: contain;
}

.prelogin-iframe {
    width: 100%;
    height: 50vh;
    position: center;
}

.loaderAnimation {
    border: 16px solid #5c91ad; /* #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    -moz-animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    align-self: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*#endregion Login*/

/*#region Fondos barra navegación #ddffde es el verde claro #3d9ee3 azul claro*/

.bg-development {
    background-color: #88bde3 !important;
}

.bg-staging {
    background-color: #ddffff !important;
}

.bg-production {
    /*background-color: #ffffff !important; #5b93ba este es azul*/
    background-color: #ffffff !important;
}

.bg-sidebar {
    background-image: linear-gradient(to right, white, whitesmoke);
}

/*#endregion Fondos*/

.min-vh-80 {
    min-height: 80vh !important;
}
/*ejemplo de botón pgt = btn-primary pero de fondo rojo*/
.btn-primario {
    --bs-btn-color: #fff;
    --bs-btn-bg: #a81e08;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.btn-botonera {
    --bs-btn-border-color: #000;
    --bs-btn-active-border-color: #fff;
}

.navbar-nav .nav-link {
}

    .navbar-nav .nav-link:hover {
        color: whitesmoke;
        font-weight: bold;
        transition: color 0.5s ease, font-weight 0.5s ease;
    }

    .navbar-nav .nav-link.seleccionado {
        color: whitesmoke;
        font-weight: bold;
    }

.nav-link.seleccionado {
    color: whitesmoke;
    font-weight: bold;
}

.text-align-right {
    text-align: right;
}

.text-align-left {
    text-align: left;
}

.texto-estado {
    border-radius: 12px;
    padding: 5px 10px;
    color: white;
}

@media (max-width: 576px) {
    .table td, .table th {
        padding: 0.3rem;
        font-size: 0.85rem;
    }
}

.btn-group > .btn:not(.d-none):not(:has(~ .btn:not(.d-none))) {
    border-top-right-radius: var(--bs-btn-border-radius); /* Variable de Bootstrap 5 para el radio del borde */
    border-bottom-right-radius: var(--bs-btn-border-radius); /* Variable de Bootstrap 5 para el radio del borde */
}

input.form-control[readonly] {
    background-color: #fffd8c79 !important; /* Un gris más claro */
    /* color: #6c757d !important; /* Texto gris */
    /*border: 1px solid #bdbdbd !important;*/
}

/* Enlace sin decoración ni cambio de color, sólo cursor al pasar */
a.sindecorar,
a.sindecorar:link,
a.sindecorar:visited {
    text-decoration: none !important;
    color: inherit !important;
}

    a.sindecorar:hover,
    a.sindecorar:focus,
    a.sindecorar:active {
        text-decoration: none !important;
        color: inherit !important;
        cursor: pointer;
    }

.seface-title {
    letter-spacing: 0.3em;
}

.versiones-item {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .versiones-item:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    }

.versiones-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.versiones-title {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.versiones-changes {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .versiones-changes li {
        padding: 8px 0;
        color: #555;
    }

    .versiones-changes i {
        margin-right: 10px;
    }



/* Versiones recientes */
.versiones-muy-nueva {
    font-weight: bold;
    color: #dc3545 !important;
}

.versiones-reciente {
    font-weight: 600;
    color: #ffc107 !important;
}

@keyframes pulse {
    0%, 100% {
        text-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
    }

    50% {
        text-shadow: 0 0 15px rgba(220, 53, 69, 0.8);
    }
}