.woo-image-upload-form {
    text-align: right;
    direction: rtl;
    font-family: 'Vazir', sans-serif;
    margin-bottom: 1rem;
}

.upload-box {
    background: #ffe5e5;
    border: 2px dashed #ff7b7b;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.upload-box:hover {
    background: #ffdede;
}

.upload-area p {
    font-size: 16px;
    margin: 10px 0 5px;
    color: #444;
}

.upload-area span {
    font-size: 13px;
    color: #777;
}

.upload-icon {
    background-image: url('../../img/icon.png'); /* Here Is For Your Custom Icon */
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: center;
    height: 50px;
    margin: 0 auto 10px;
}

.upload-btn {
    background-color: #384455 !important;
    color: white !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    box-shadow: 0 0 20px rgb(0 0 0 / 6%) !important;
    transition-duration: 0.3s !important;
}

.upload-btn:hover {
    background-color: #293341 !important;
}

.upload-success {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

.upload-error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

.upload-input {
    display: none;
}
.upload-area.dragover {
    background-color: #ffcccc;
    border-color: #ff4d4d;
}

.upload-icon {
    font-size: 48px;
    color: #d44;
    transition: transform 0.3s ease, color 0.3s ease;
    margin-bottom: 10px;
}

.image-preview {
    text-align: center;
    margin-top: 10px;
}

.preview-img {
    max-width: 120px;
    border-radius: 12px;
    border: 2px solid #ccc;
    padding: 4px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.preview-img-wrapper {
    position: relative;
    display: inline-block;
}

.upload-success-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%) scale(0.6);
    background: rgba(0, 0, 0, 0.65);
    color: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    z-index: 10;
}

.upload-success-check.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.upload-success-check.fade-out {
    transform: translate(-50%, -120%) scale(0.9);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.remove-upload-btn {
    background: rgba(255, 0, 0, 0.1) !important;
    border: 1px solid #d33 !important;
    color: #d33 !important;
    padding: 5px 10px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    transition: all 0.3s ease !important;
}

.remove-upload-btn:hover {
    background: #ffdddd !important;
}

.upload-success, .upload-error {
    padding: 20px 20px;
    border-radius: 0px;
    margin-top: 15px;
    font-weight: 400;
    text-align: center;

}
.upload-success {
    background: rgba(0, 255, 0, 0.1);
    color: rgb(0, 184, 0);
    border-right: 3px solid rgb(0, 255, 0);
}
.upload-error {
    background: rgba(255, 0, 0, 0.1);
    color: red;
    border-right: 3px solid rgb(255, 0, 0);
}