﻿.pl-archivo-container {
    margin:auto;
    width: 100%;
}

.pl-archivo-box {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-size: contain;
    background-position: center;
    background-repeat:no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 3px solid transparent;
}

    .pl-archivo-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .pl-archivo-box input[type="file"] {
        display: none;
    }

    .pl-archivo-box label {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        color: white;
        padding: 15px;
        box-sizing: border-box;
        transition: background-color 0.3s ease;
        border-radius: 9px;
    }

    .pl-archivo-box:hover label {
        background-color: rgba(0, 0, 0, 0.65);
    }

.pl-archivo-label {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.pl-archivo-status {
    font-size: 0.95em;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(3px);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pl-archivo-box.has-file .pl-archivo-status {
    background-color: var(--pl-secondary);
    color: white;
    font-weight: bold;
}

.pl-archivo-box.has-file {
    border: 3px solid var(--pl-secondary);
}

.pl-archivo-box.drag-over {
    box-shadow: 0 0 0 4px #007bff, 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: scale(1.03);
}

@media (max-width: 600px) {
    .pl-archivo-container {
        flex-direction: column;
        align-items: center;
    }

    .pl-archivo-box {
        /*width: 90%;
        max-width: 300px;*/
        height: 17rem;
    }
}
