/* =============================================================
   AI Facade — dropzone upload widget
   ============================================================= */

.ai-facade__dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 2rem 1.5rem;
    border: 2px dashed #adb5bd;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    text-align: center;
    /* Reset <label> defaults */
    margin-bottom: 0;
    font-weight: inherit;
    color: inherit;
    text-decoration: none;
}

.ai-facade__dropzone:hover,
.ai-facade__dropzone:focus-visible {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    outline: none;
}

.ai-facade__dropzone--active {
    border-color: #0d6efd;
    background-color: #cfe2ff;
}

/* Visually hidden but still operable by the browser */
.ai-facade__dropzone-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    pointer-events: none;
}

.ai-facade__dropzone-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.ai-facade__dropzone:hover .ai-facade__dropzone-icon,
.ai-facade__dropzone--active .ai-facade__dropzone-icon {
    color: #0d6efd;
}

.ai-facade__dropzone-label {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.ai-facade__dropzone-hint {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.ai-facade__dropzone-instructions {
    font-size: 0.8125rem;
    color: #adb5bd;
    margin: 0;
}
