/* APROVA_GLOBAL_FILE_DROP_V1 */
[data-aprova-drop-zone] {
    transition: border-color .18s ease, background-color .18s ease,
        box-shadow .18s ease, transform .18s ease;
}

.aprova-drop-active {
    border-color: #2563eb !important;
    background: rgba(239, 246, 255, .97) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .16),
        0 18px 45px rgba(15, 23, 42, .14) !important;
    transform: translateY(-1px);
}

.aprova-drop-instruction {
    display: block;
    margin-top: .5rem;
    color: #2563eb;
    font-size: .78rem;
    font-weight: 800;
}

.aprova-drop-status {
    display: block;
    max-width: 100%;
    margin-top: .45rem;
    overflow: hidden;
    color: #64748b;
    font-size: .75rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aprova-drop-status[data-has-files="1"] {
    color: #047857;
}

.aprova-drop-generated {
    position: relative;
    display: flex;
    min-height: 132px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #93c5fd;
    border-radius: 1rem;
    background: rgba(239, 246, 255, .72);
    padding: 1.25rem;
    text-align: center;
}

.aprova-drop-generated-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    color: #0f172a;
}

.aprova-drop-generated-content > span:last-child {
    color: #64748b;
    font-size: .75rem;
}

.aprova-drop-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: .85rem;
    background: #fff;
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .1);
}

.aprova-drop-native-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

.aprova-drop-form-overlay {
    position: absolute;
    inset: 0;
    z-index: 2147482000;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px dashed #2563eb;
    border-radius: 1rem;
    background: rgba(239, 246, 255, .97);
    color: #1d4ed8;
    padding: 1rem;
    pointer-events: none;
    text-align: center;
}

.aprova-drop-overlay-visible {
    display: flex;
}

.dark .aprova-drop-active,
.dark .aprova-drop-generated,
.dark .aprova-drop-form-overlay {
    border-color: #60a5fa !important;
    background: rgba(30, 41, 59, .97) !important;
}

.dark .aprova-drop-generated-content {
    color: #f8fafc;
}

.dark .aprova-drop-instruction {
    color: #93c5fd;
}

.dark .aprova-drop-status {
    color: #94a3b8;
}

.dark .aprova-drop-status[data-has-files="1"] {
    color: #6ee7b7;
}
