/* image input */
.image-upload-container {
    position: relative;
    margin: 0 10px;
}
.upload-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}
.upload-button:hover {
    background-color: #e0e0e0;
}
.upload-button i {
    color: #555;
    font-size: 18px;
}
.image-preview-container {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}
#image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.delete-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}
.image-preview-container:hover .delete-image {
    opacity: 1;
}
.delete-image i {
    color: white;
    font-size: 16px;
}


/* pdf upload styles */
.pdf-upload-container {
    position: relative;
    margin: 0 10px;
}
.pdf-button {
    background-color: #f0f0f0;
}
.pdf-button i {
    color: #888; /* Gray color initially */
}
.pdf-button.has-file i {
    color: #d32f2f; /* Red color when file is uploaded */
}
.pdf-preview-container {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdf-preview-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.pdf-preview-icon i {
    color: #d32f2f;
    font-size: 20px;
}
.delete-pdf {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}
.pdf-preview-container:hover .delete-pdf {
    opacity: 1;
}
.delete-pdf i {
    color: white;
    font-size: 16px;
}
