#eu-return-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    overflow-y: auto;
    backdrop-filter: blur(2px);
    text-align: center;
}

#eu-return-popup-overlay::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#eu-return-popup-inner {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 900px;
    overflow-y: auto;
    padding: 40px;
    margin: 40px 20px;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}

#eu-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: #888;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    border: none;
    transition: background 0.2s ease;
    padding: 0;
}

#eu-popup-close:hover {
    background-color: #555;
}

.eu-item-qty::-webkit-inner-spin-button,
.eu-item-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.eu-item-qty {
    -moz-appearance: textfield;
}

.eu-return-wrapper .eu-btn {
    background-color: #df8a40;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    text-align: center;
    display: inline-block;
    width: auto;
}

.eu-return-wrapper .eu-btn:hover {
    background-color: #c97935;
    opacity: 0.9;
}

.eu-return-wrapper .eu-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.eu-return-wrapper .eu-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.eu-return-wrapper .eu-form-actions .eu-btn {
    flex: 1;
}

@media screen and (max-width: 768px) {
    #eu-return-popup-inner {
        max-width: 100%;
        margin: 10px;
        padding: 25px 20px;
        border-radius: 6px;
    }

    .eu-return-wrapper .eu-form-actions {
        flex-direction: column;
        gap: 10px;
    }
}
