/* Contenedor principal que inyectaremos con JS */
.jm-custom-file-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    padding: 20px;
    background: linear-gradient(to bottom, #ffffff, #fcfdfd);
    border: 2px dashed #7DB3D4;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    overflow: hidden;
}

/* Efecto hover simulando un halo de luz / sombra suave */
.jm-custom-file-wrapper:hover {
    background: #ffffff;
    border-color: #5a9bc0;
    box-shadow: 0 4px 15px rgba(125, 179, 212, 0.15);
}

/* Modificador cuando el archivo ya está seleccionado */
.jm-custom-file-wrapper.has-file {
    border-style: solid;
    background: #f4f8fa;
}

/* El input nativo: invisible pero ocupando todo el espacio para ser clickeable/droppable */
.jm-custom-file-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

/* Textos de la interfaz */
.jm-file-text {
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    pointer-events: none; /* Evita que interfiera con el click del input */
}

.jm-file-name {
    color: #7DB3D4;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
    word-break: break-all;
    pointer-events: none;
    max-width: 90%;
}