/* ============================
   BilderBoxBayern – Dropzone
   ============================ */

.bilderbox-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 2rem 1.5rem;
    border: 2.5px dashed #7db9e0;
    border-radius: 12px;
    background: #f4f9fd;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: center;
    outline: none;
    user-select: none;
}

.bilderbox-dropzone:hover,
.bilderbox-dropzone:focus {
    border-color: #2c7cb0;
    background: #eaf4fb;
    box-shadow: 0 0 0 3px rgba(44,124,176,.15);
}

/* Drag-over state */
.bilderbox-dropzone--drag-over {
    border-color: #2c5f2e;
    background: #eaf5ea;
    box-shadow: 0 0 0 4px rgba(44,95,46,.2);
}

/* File selected state */
.bilderbox-dropzone--has-file {
    border-style: solid;
    border-color: #2c7cb0;
    background: #ffffff;
}

/* Upload icon */
.bilderbox-dropzone-icon {
    width: 72px;
    height: 72px;
    margin-bottom: .25rem;
}

.bilderbox-dropzone-label {
    font-size: 1rem;
    color: #1a1a2e;
}

.bilderbox-dropzone-hint {
    font-size: .875rem;
}

.bilderbox-dropzone-formats {
    color: #888;
    margin-top: .25rem;
}

/* Preview */
.bilderbox-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.bilderbox-preview-img {
    max-width: 100%;
    max-height: 280px;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.bilderbox-preview-name {
    color: #1a1a2e;
    font-size: .9rem;
    word-break: break-all;
}

.bilderbox-remove-btn {
    cursor: pointer;
}

/* Hide the actual file input */
.bilderbox-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
