body {
    font-family: sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.container {
    width: 90%;
    height: auto;
    max-width: 1200px;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    margin-top: -60px;
    z-index: 4;
}

.banner-maestria {
    position: relative;
    width: 100%;
    min-height: 300px;
    height: 50vh;
    max-height: 400px;
    color: white;
    /*background-image: url('./img/hexagon-5936590.jpg');*/
    background-image: url('./img/1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-maestria::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(16, 46, 108, 0.252);
    z-index: 1;
}

.logo {
    position: absolute;
    z-index: 2;
    width: 30%;
    max-width: 200px;
    height: auto;
    top: 5%;
}

.logo-udg {
    left: 3%;
}

.logo-cucei {
    right: 3%;
}

@media (max-width: 768px) {
    .logo {
        width: 28%;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 30%;
        max-width: 120px;
    }
}

.banner-contenido {
    position: relative;
    z-index: 2;
    padding: 1rem 0;
}

.banner-contenido::before {
    content: '';
    position: absolute;
    background-color: white;
    height: 3px;
    /* width: 100%; */
    left: 1rem;
    right: 1rem;
    top: 100%;
    transform: translateY(-50%);
    z-index: 2;
}

.banner-contenido h1 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: uppercase;
    margin: 0;
    padding: 0 1rem;
    letter-spacing: 1.5px;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    flex-direction: column;
}

form {
    max-width: 600px;
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 0px 0px 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    /* border: 1px solid #e6e6e6; */
    border: none;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus, input[type="email"]:focus {
    border: 1px solid;
    border-color: #5c67f2;
    outline: none;
}

input::placeholder {
    color: #dadada;
    font-weight: 200;
    letter-spacing: 1px;
}

button {
    width: 100%;
    padding: 12px;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #5c67f2;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

#status {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
}
.success {
    color: #155724;
    background-color: #d4edda;
}
.error {
    color: #721c24;
    background-color: #f8d7da;
}

/* ARCHIVOS */

.file-container {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-files-hidden {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.custom-file-label {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    border-radius: 4px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.custom-file-label:hover {
    border-color: #5c67f2;
}

.input-container {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-container label {
    font-weight: 300;
    color: #979696;
    letter-spacing: 1px;
    margin-left: 4px;
}

#file-count-status {
    text-align: center;
    font-size: 0.9em;
    color: #555;
    margin-top: 8px;
    font-weight: bold;
}

/* LOADER */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-text-container {
    position: relative;
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 700;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gray-text {
    border: none;
    color: #0d47a1;
    z-index: 1;
}

/* 0d47a1 */

.blue-text {
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23e0e0e0' d='M0,128L48,138.7C96,149,192,171,288,186.7C384,203,480,213,576,197.3C672,181,768,139,864,122.7C960,107,1056,117,1152,133.3C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 300% 300%;
    background-position: 50% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fill-text-wave 2.5s ease-out 0.5s forwards;
}



@keyframes fill-text-wave {
    from { background-position: 50% 100%; }
    to { background-position: 50% 0%; }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Botones para registro */

.form-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 8px 8px 0px 0px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 6;
}

.regis-button {
    background-color: #21297a;
}

.hidden{
    display: none;
}