.helpmate-refund-return-buttons {
    margin: 2em 0;
    padding: 1.5em;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.helpmate-refund-return-buttons h2 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 1.2em;
}

.helpmate-refund-return-actions {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.helpmate-refund-return-actions .button {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.helpmate-refund-return-status {
    margin: 2em 0;
    padding: 1.5em;
    background: #f0f7ff;
    border: 1px solid #b3d7ff;
    border-radius: 4px;
    color: #0066cc;
}

.helpmate-refund-return-status h3 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 1.2em;
    color: #0066cc;
}

.helpmate-status-details {
    background: white;
    padding: 1em;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.helpmate-status-details p {
    margin: 0.5em 0;
    line-height: 1.4;
}

.helpmate-status-details strong {
    color: #333;
    min-width: 80px;
    display: inline-block;
}

/* Status-specific styling */
.helpmate-status-pending {
    color: #f39c12;
    font-weight: 600;
}

.helpmate-status-approved {
    color: #27ae60;
    font-weight: 600;
}

.helpmate-status-rejected {
    color: #e74c3c;
    font-weight: 600;
}

.helpmate-status-processing {
    color: #3498db;
    font-weight: 600;
}

.helpmate-status-completed {
    color: #27ae60;
    font-weight: 600;
}

/* Order list button styles */
.woocommerce-orders-table__row .woocommerce-orders-table__cell-order-actions .helpmate-request,
.woocommerce-orders-table__row .woocommerce-orders-table__cell-order-actions .helpmate-request-status {
    display: inline-block;
    margin: 0.25em 0;
    padding: 0.5em 1em;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.woocommerce-orders-table__row .woocommerce-orders-table__cell-order-actions .helpmate-request:hover,
.woocommerce-orders-table__row .woocommerce-orders-table__cell-order-actions .helpmate-request-status:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.woocommerce-orders-table__row .woocommerce-orders-table__cell-order-actions .helpmate-request-status {
    background: #f0f7ff;
    border-color: #b3d7ff;
    color: #0066cc;
}

#helpmate-refund-return-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
}

.helpmate-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    padding: 2em;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.helpmate-modal-content h3 {
    margin-top: 0;
    margin-bottom: 1.5em;
}

.form-field {
    margin-bottom: 1.5em;
}

.form-field label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.form-field textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-field select {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 1em;
}

.form-field select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

#helpmate-custom-reason-field {
    margin-top: 1em;
    padding: 1em;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

#helpmate-custom-reason-field label {
    color: #666;
    font-size: 0.9em;
}

#helpmate-custom-reason {
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 1em;
    justify-content: flex-end;
}

.form-actions .button {
    min-width: 100px;
}

@media (max-width: 768px) {
    .helpmate-refund-return-actions {
        flex-direction: column;
    }

    .helpmate-refund-return-actions .button {
        width: 100%;
    }

    .helpmate-modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 1.5em;
    }

    .woocommerce-orders-table__row .woocommerce-orders-table__cell-order-actions .helpmate-request,
    .woocommerce-orders-table__row .woocommerce-orders-table__cell-order-actions .helpmate-request-status {
        display: block;
        text-align: center;
    }
}

/* Success message styles */
.helpmate-success-message {
    text-align: center;
    padding: 2em 0;
}

.helpmate-success-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    line-height: 60px;
    margin-bottom: 1em;
}

.helpmate-success-message h4 {
    color: #4CAF50;
    margin: 0 0 1em 0;
    font-size: 1.5em;
}

.helpmate-success-message p {
    margin: 0 0 2em 0;
    color: #666;
    font-size: 1.1em;
    line-height: 1.5;
}

.helpmate-close-success-btn {
    background: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: white !important;
    padding: 0.75em 2em !important;
    font-size: 1em !important;
    transition: all 0.2s ease !important;
}

.helpmate-close-success-btn:hover {
    background: #45a049 !important;
    border-color: #45a049 !important;
    transform: translateY(-1px);
}