/* Container for file input */
.file-upload {
    width: 100px;
    /* Adjust the size to fit your needs */
    height: 100px;
    border: 2px dashed #999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    transition: border-color 0.3s ease;
    /* Smooth transition */
}

.file-upload input[type="file"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

/* Font Awesome Icon */
.file-upload i {
    font-size: 40px;
    color: #999;
    transition: color 0.3s ease;
    /* Smooth transition for color */
}

/* Hover Effect */
.file-upload:hover {
    border-color: var(--color-primary);
    /* Change border color on hover */
}

.file-upload:hover i {
    color: var(--color-primary);
    /* Change icon color on hover */
}

/* .image-preview{
    display: flex;

} */

.card-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 150px;
    max-height: 120px;
    /* margin-bottom: 30px; */
    /* border: 2px dashed #999; */

}

.card-preview img {
    width: 100%;
 max-height: 99px;
 object-fit: scale-down;
    overflow: hidden !important;
}
