body {
    background: linear-gradient(to right, #E3F2FD, #CFEBF9);
    font-family: Arial, sans-serif;
    color: #1e3c72;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header ajustado */
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 0 20px;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Contenedor del logo ajustado */
.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; /* Ajusta el margen para que el logo no se superponga */
}

/* Logo superior corregido */
.logo-superior {
    height: 80px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    margin-top: 10px;
}

/* Título principal corregido */
.titulo-principal {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #1A3E70;
    margin: 10px 0 20px 0;
    padding: 0 15px;
    text-transform: uppercase;
    width: 100%;
}

/* Resto del código manteniendo todo igual */
.logo {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.3));
    animation: breathing 3s infinite ease-in-out;
}

@keyframes breathing {
    0% {
        transform: translateX(-50%) scale(1);
        filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.4));
    }
    100% {
        transform: translateX(-50%) scale(1);
        filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.3));
    }
}

.formulario {
    position: relative;
    background: #a3d5ff;
    padding: 60px 20px 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-top: 90px; /* Añadí margen superior adicional */
    margin-bottom: 40px; /* Margen inferior para equilibrio */
}
.form-image {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

label {
    font-weight: bold;
    text-align: center;
    display: block;
    margin-top: 5px;
}

input {
    width: 90%;
    max-width: 350px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    text-align: center;
    display: block;
}

button {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 90%;
    max-width: 200px;
    margin-top: 10px;
}

button:hover {
    background: #2a5298;
}

.input-group {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.input-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.input-field label {
    font-weight: bold;
}

.input-field input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: center;
}

#extraFields {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

button#guardar {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 90%;
    max-width: 200px;
    margin-top: 40px;
}

button#guardar:hover {
    background: #2a5298;
}

.circle-top-right {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    background: linear-gradient(to bottom right, #364B9B, #364B9B);
    border-radius: 50%;
    z-index: -1;
}

.circle-bottom-left {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 120px;
    height: 120px;
    background: linear-gradient(to bottom right, #1A3E70, #364B9B);
    border-radius: 50%;
    z-index: -1;
}

.curve-bottom-left {
    position: fixed;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border: 15px solid #3f3f3f;
    border-top: none;
    border-right: none;
    border-radius: 50%;
    z-index: -1;
}

.curve-top-left {
    position: fixed;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    border: 20px solid #0b9aec59;
    border-bottom: none;
    border-left: none;
    border-radius: 50%;
    z-index: -1;
}

.curve-bottom-right {
    position: fixed;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(to bottom right, #1A3E70, #364B9B);
    border-bottom: none;
    border-right: none;
    border-radius: 50%;
    z-index: -1;
}

.small-circle-top-right {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(to bottom right, #1A3E70, #364B9B);
    border-radius: 50%;
    z-index: -1;
}

body {
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1024px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .gradient-text {
        text-align: center;
        max-width: 90%;
        font-size: clamp(1.2rem, 3vw, 2rem);
    }
}

@media (max-width: 768px) {
    .titulo-principal {
        font-size: clamp(1rem, 4vw, 1.5rem);
        line-height: 1.4;
    }
    
    .logo-superior {
        height: 60px;
    }

    .input-group {
        flex-wrap: wrap;
    }

    .input-field {
        min-width: 100%;
    }

    .circle-top-right {
        width: 50px;
        height: 50px;
    }

    .circle-bottom-left {
        width: 80px;
        height: 80px;
    }

    .curve-bottom-left, .curve-top-left, .curve-bottom-right {
        width: 100px;
        height: 100px;
    }

    .small-circle-top-right {
        width: 30px;
        height: 30px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .titulo-principal {
        font-size: 0.9rem;
    }
    
    header {
        padding: 15px 10px;
    }
}

#NA {
    display: none;
    text-align: center;
    margin: 20px auto;
    padding: 20px;
    width: 50%;
    background: #ffffff00;
    border-radius: 10px;
}

#NA h3 {
    text-align: center;
    margin-bottom: 15px;
}

#NA input[type="text"] {
    width: 80%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    margin: 0 auto 15px auto;
    text-align: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.checkbox-container label {
    font-size: 16px;
    text-align: left;
    cursor: pointer;
}

.btn-reporte {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #2563eb; /* Azul Tailwind */
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: background-color 0.3s ease;
    z-index: 1000;
  }
  
  .btn-reporte:hover {
    background-color: #1d4ed8; /* Azul más oscuro */
  }
  