/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: #e4e4e4;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    background-color: white;
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1em;
    padding: 0.5rem;
    min-height: 98vh;
}

/* Header */
header {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.header-title {
    font-size: 1.5rem;
    color: rgb(40, 156, 233);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* Container Grid */
.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    flex: 1;
}

/* Sections */
section {
    background-color: #e7e7e7;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-green {
    background-color: #28a745;
    color: white;
}

.btn-blue {
    background-color: #007bff;
    color: white;
}

.yellow {
    background-color: #f7df1e;
    color: #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 0.5rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.85rem;
}

.ul-nav{
    display:flex;
    font-size: 0.5em;
    list-style-type: none;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

a.a-nav{
    text-decoration: none;
    color: #f1f1f1;
}
a.a-nav:hover{
    color: #82f0ff;
}


.colored-nav{
    background-color: rgb(61, 61, 61);
    border-radius: 5px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 10px;
    justify-items: center;
    align-items: center;
}

.btn-small {
    padding: 0.4rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 60px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-cp {
    font-size: 2rem;
}
.li-white {
    color: white!important;
    padding-left: 10px;
}

.medium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    justify-items: center;
    align-items: center;
}

.btn-medium {
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
    width: 100%;
    max-width: 100px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}


::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;  /* Fondo del scrollbar */
}

::-webkit-scrollbar-thumb {
    background: #888;  /* Color del "pulgar" (la parte que se arrastra) */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;  /* Cambio de color al pasar el mouse por encima */
}


input[type="file"] {
    display: none;
  }

    .custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
  }

  #spinner-container {
    position: fixed; /* Para posicionarlo en la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo blanco con opacidad */
    display: flex; /* Usar flexbox para centrar */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    z-index: 9999; /* Asegurarse de que esté por encima de otros elementos */
    border-radius: 15px; /* Esquinas redondeadas */
}

.spinner {
    border: 8px solid #f3f3f3; /* Color de fondo del spinner */
    border-top: 8px solid #3498db; /* Color de la parte superior del spinner */
    border-radius: 50%; /* Hacerlo circular */
    width: 50px; /* Ancho del spinner */
    height: 50px; /* Alto del spinner */
    animation: spin 1s linear infinite; /* Animación de giro */
}

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

.btn-cyan{
    background-color: rgb(25, 139, 133);
    color:white;
}
.copy-button {
    background-color: #4CAF50; /* Color de fondo verde */
    color: white; /* Color del texto */
    border: none; /* Sin borde */
    border-radius: 3px; /* Bordes redondeados */
    cursor: pointer; /* Cursor en forma de mano */
    padding: 5px 10px; /* Espaciado interno */
}

a{
    text-decoration: none;
    color:rgb(66, 132, 255)
}


/********************************************** HOJA 2 ***********************************************/
/* Hola, copilot, hablas español? */
/* Sí, hablo español. ¿En qué puedo ayudarte hoy? */
/* Aquí tienes el código CSS para la segunda hoja de estilos. */

.b-color {
    width: 4em;
    height: 4em;
    border-radius: 1em;
    border: none;
    box-shadow: 0px 2px 2px rgb(207, 207, 207);
}

.b-color:hover {
    transform: scale(1.1);
}

.uncle-harlo {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 1rem;
    justify-items: center;
    margin-bottom: 20px;
}

@media (max-width: 1500px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 1000px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
    }
}

.small-qrcode-container {
 height: 0px;
}
.large-qrcode-container {
 display: flex;
    justify-content: center;
    align-items: center;
}