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;
  background-color: lightgray;
}

button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 5px;
    font-size: 16px;
    color: #fff;
    background-color: dodgerblue;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #0056b3;
    }

    button.secondary {
        background-color: #6c757d;
    }

        button.secondary:hover {
            background-color: #565e64;
        }

    button.success {
        background-color: #28a745;
    }

        button.success:hover {
            background-color: #218838;
        }

    button.danger {
        background-color: #dc3545;
    }

    button.danger:hover {
        background-color: #c82333;
    }


.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db; 
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


#spinner {
    text-align: center;
    margin-top: 20px;
}

#visorExcel table {
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}

#visorExcel td, #visorExcel th {
    border: 1px solid #ddd;
    padding: 8px;
}


.table-alv {
    width: 100%;
    border-collapse: collapse; 
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    
}


    .table-alv td, .table-alv th {
        border: 1px solid #dddddd; 
        padding: 8px;
        text-align: left; 
    }

   
    .table-alv th {
        background-color: #002266; 
        color: #ffffff; 
        text-transform: uppercase; 
        font-weight: bold;
        text-align: center; 
    }

   
    .table-alv tr:nth-child(even) {
        background-color: #f2f2f2; 
    }

    .table-alv tr:nth-child(odd) {
        background-color: #ffffff; 
    }

   
    .table-alv tr:hover {
        background-color: #cce5ff; 
    }

   
    .table-alv td.numeric {
        text-align: right; 
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.lista-carpetas {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .lista-carpetas li {
        margin-bottom: 10px;
        padding: 10px;
        border: 1px solid #ddd; 
        border-radius: 5px; 
        background-color: #f9f9f9; 
        transition: background-color 0.3s ease;
    }

        .lista-carpetas li:hover {
            background-color: #e6f7ff; 
        }

        .lista-carpetas li a {
            text-decoration: none; 
            color: #333;
            font-size: 30px;
            font-weight: bolder;
            display: flex; 
            align-items: center;
        }

            .lista-carpetas li a:hover {
                color: #007bff; 
            }

    .lista-carpetas .icono-carpeta {
        margin-right: 10px; 
        font-size: 40px; 
        color: #f39c12; 
    }
.navbar {
    background-image: url('/css/img/footer.png');
    background-size: cover;
    background-repeat: no-repeat;
}

#visorExcel {
    background-color: white; 
}

    #visorExcel table {
        background-color: white; 
    }

.celda {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

#Titulo {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

#logout {
    font-size: 14px; 
    font-weight: bold;
    text-decoration: none; 
    color: black; 
}

#logout:hover {
    color: red;
}

#redirect, #goHome {
    background-color: rgba(255, 255, 255, 0.2); 
    padding: 10px;
    border-radius: 5px;
    display: inline-block; 
}

.language-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.language-select {
    appearance: none;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 10px 40px 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23999" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

    .language-select:hover {
        background-color: #e0e0e0;
        border-color: #888;
        box-shadow: 0 0 10px rgba(0, 120, 212, 0.3);
        transform: scale(1.05);
    }


