/* ==========================================================================
   Local FileHolder CSS — 100% Self-Contained, Zero External CDN
   ========================================================================== */

.fileholder {
    position: relative;
    border: 2px dashed rgba(203, 213, 225, 0.9);
    border-radius: 14px;
    padding: 24px 16px;
    background: #f8fafc;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fileholder:hover, .fileholder.active {
    border-color: #0d9488;
    background: rgba(13, 148, 136, 0.04);
}

.fileholder-drag-drop-icon {
    margin-bottom: 8px;
    color: #0d9488;
    font-size: 28px;
}

.fileholder-drag-drop-title {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 2px;
}

.fileholder-drag-drop-subtitle {
    font-size: 11px;
    color: #94a3b8;
}

.fileholder-preview-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fileholder-preview-image {
    max-height: 140px;
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.fileholder-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, background 0.2s ease;
}

.fileholder-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.fileholder-single-file-view {
    min-width: 130px;
}
