body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f9;
}

.container {
    text-align: center;
    width: 80%;
    padding: 10px;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #6a1b9a;
    margin-bottom: 0;
    margin-top: 0;
}

.subtitle {
    font-size: 1.25rem;
    color: #a7a6a6;
    margin-top: 0;
    margin-bottom: 20px;
}

#drop-area {
    border: 2px dashed #ccc;
    padding: 30px;
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

#drop-area.highlight {
    border-color: #6a1b9a;
}

#fileElem {
    display: none;
}

#fileLabel {
    cursor: pointer;
    color: #6a1b9a;
    text-decoration: underline;
}

#gallery {
    margin-top: 20px;
    position: relative;
}

#clearBtn {
    background: #ffffff;
    padding: 5px;
    color: rgb(100, 95, 95);
    border: none;
    border-radius: 20%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1; /* Asegura que la "X" esté centrada verticalmente */
    font-size: 20px; /* Ajusta el tamaño de la "X" */
}

button {
    background: #6a1b9a;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    position: relative;
}

button:hover {
    background: #4a148c;
}

button::after {
    display: none; /* Desactivar el pseudo-elemento */
}

button:hover::after {
    opacity: 1;
}

select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 70%;
    box-sizing: border-box;
    margin-right: 10px;
}

.form-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#error-message, #same-format-error {
    margin-top: 20px;
    color: red;
    display: none;
}
