/* File Upload Loading Layer */
#file_upload_loading_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#file_upload_loading_content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.c-file-upload-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.c-btn-file-reset, .c-btn-file-delete {
	width:45px;
    padding: 4px 8px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.c-btn-file-reset:hover, .c-btn-file-delete:hover {
    background-color: #c0392b;
}

.c-existing-file-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.c-file-name-text {
    font-size: 14px;
    color: #333;
}
