.upload-file-input {
    min-height: auto;
}

#file-upload .delete-file-btn {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 17px;
    height: 17px;
    padding: 0 !important;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    z-index: 1;
}

#file-upload .delete-file-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dc3545;
    border-radius: 50%;
    z-index: -1;
}

#file-upload .delete-file-btn i {
    position: relative;
    font-size: 11px;
    color: #fff;
    padding-right: 0;
}

.file-thumb {
    border-radius: 6px;
}

.file-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: background 0.2s ease, opacity 0.2s ease;
    border-radius: 6px;
}

.file-thumb:hover .file-view-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
}
