/* WooCommerce Advanced Reorder - Frontend Styles */

/* Reorder Buttons */
.wc-advanced-reorder-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.wc-advanced-reorder-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}

.wc-advanced-reorder-btn.button-link {
    background: none;
    border: none;
    color: #0073aa;
    padding: 4px 8px;
    text-decoration: underline;
}

.wc-advanced-reorder-btn.button-link:hover {
    color: #005a87;
    transform: none;
    box-shadow: none;
}

.wc-advanced-reorder-btn.button-icon {
    padding: 8px;
    min-width: 36px;
    justify-content: center;
}

.wc-advanced-reorder-btn .reorder-icon::before {
    content: "↻";
    font-size: 16px;
}

/* Order History Enhancements */
.wc-advanced-reorder-history {
    margin: 20px 0;
}

.wc-advanced-reorder-history h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.wc-advanced-reorder-history h4 {
    margin: 20px 0 10px 0;
    font-size: 16px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* Order Cards */
.orders-grid, .recurring-orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.order-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.order-card.recurring-order::before {
    content: "★";
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffd700;
    font-size: 18px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-number {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.order-date {
    color: #666;
    font-size: 14px;
}

.order-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.order-status.status-completed {
    background: #e8f5e8;
    color: #2e7d32;
}

.order-status.status-processing {
    background: #fff3e0;
    color: #f57c00;
}

.order-status.status-on-hold {
    background: #f3e5f5;
    color: #7b1fa2;
}

.order-total {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Order Items */
.order-items {
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.order-item:last-child {
    border-bottom: none;
}

.item-name {
    flex: 1;
    color: #333;
    font-size: 14px;
}

.item-qty {
    color: #666;
    font-size: 13px;
    margin-left: 10px;
}

.more-items {
    color: #666;
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding: 5px 0;
}

/* Order Actions */
.order-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.order-actions .wc-advanced-reorder-btn.detailed {
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.recurring-toggle {
    background: none;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.recurring-toggle:hover {
    border-color: #ffd700;
    background: #fffbf0;
}

.recurring-toggle.active {
    background: #ffd700;
    border-color: #ffd700;
    color: #333;
}

.star-icon.empty::before {
    content: "☆";
}

.star-icon.filled::before {
    content: "★";
    color: #ffd700;
}

.view-order {
    color: #0073aa;
    text-decoration: none;
    font-size: 12px;
    padding: 6px 10px;
    border: 1px solid #0073aa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-order:hover {
    background: #0073aa;
    color: #fff;
    text-decoration: none;
}

/* Modal Styles */
.wc-reorder-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wc-frontend-bg-color, #ffffff);
}

.wc-reorder-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Alerts Section */
.alerts-section {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #fff3cd 0%, #fef7e0 100%);
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    border-left: 4px solid #f39c12;
}

.stock-alerts,
.price-alerts {
    margin-bottom: 15px;
}

.stock-alerts:last-child,
.price-alerts:last-child {
    margin-bottom: 0;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.alert-item:last-child {
    margin-bottom: 0;
}

.stock-alert {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.price-alert {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #856404;
}

.alert-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.stock-alert .alert-icon {
    background: #dc3545;
    color: #fff;
}

.stock-alert .alert-icon::before {
    content: '!';
}

.price-alert .alert-icon {
    background: #ffc107;
    color: #333;
}

.price-alert .alert-icon::before {
    content: '$';
}

.wc-reorder-modal .modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wc-reorder-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px 30px;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.wc-reorder-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.wc-reorder-modal .modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.wc-reorder-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.wc-reorder-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wc-reorder-modal .modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

/* Order Preview Section */
.order-preview {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.order-preview h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.items-list {
    max-height: 200px;
    overflow-y: auto;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-item-info {
    flex: 1;
}

.preview-item-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.preview-item-details {
    color: #666;
    font-size: 12px;
}

.preview-item-price {
    font-weight: 600;
    color: #007cba;
    font-size: 14px;
}

/* Reorder Options Grid */
.reorder-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.reorder-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reorder-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,124,186,0.1), transparent);
    transition: left 0.6s ease;
}

.reorder-option:hover::before {
    left: 100%;
}

.reorder-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,124,186,0.2);
    border-color: #007cba;
}

.reorder-option .option-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.reorder-option h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.reorder-option p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
}

/* Order History List */
.order-history-list {
    max-height: 400px;
    overflow-y: auto;
}

.order-history-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-history-item:hover {
    background: #e9ecef;
    border-color: #007cba;
    transform: translateX(5px);
}

.order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-number {
    font-weight: 600;
    color: #007cba;
    font-size: 16px;
}

.order-date {
    color: #6c757d;
    font-size: 14px;
}

.order-total {
    font-weight: 600;
    color: #28a745;
    font-size: 16px;
}

.order-items-preview {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
}

/* Cart Action Section */
.cart-action-section {
    margin: 25px 0;
    animation: slideInUp 0.5s ease-out 0.2s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-action-section h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.cart-action-section .description {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.action-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.action-option {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: block;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out both;
}

.action-option:nth-child(1) {
    animation-delay: 0.3s;
}

.action-option:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.action-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,124,186,0.1), transparent);
    transition: left 0.6s ease;
}

.action-option:hover::before {
    left: 100%;
}

.action-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,124,186,0.15);
    border-color: #007cba;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.action-option:hover .option-icon {
    opacity: 1;
    transform: scale(1.05);
}

.action-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.action-option .option-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.action-option .option-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    position: relative;
    padding-right: 30px;
}

.action-option .option-title::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: -2px;
    right: 0;
    transition: all 0.3s ease;
}

.action-option .option-desc {
    display: block;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-top: 5px;
}

.action-option input[type="radio"]:checked + .option-title::before {
    background: #007cba;
    border-color: #007cba;
    box-shadow: inset 0 0 0 3px #fff;
}

.action-option input[type="radio"]:checked ~ .option-title,
.action-option input[type="radio"]:checked ~ .option-desc {
    color: #007cba;
}

.action-option input[type="radio"]:checked {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #007cba;
    box-shadow: 0 5px 15px rgba(0,124,186,0.2);
}

.action-option:has(input[type="radio"]:checked),
.action-option.selected {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #007cba;
    box-shadow: 0 5px 15px rgba(0,124,186,0.2);
    transform: translateY(-3px);
}

.action-option.selected .option-title,
.action-option.selected .option-desc {
    color: #007cba;
}

.action-option.selected .option-icon {
    opacity: 1;
    transform: scale(1.1);
}

.action-option.selected .option-title::before {
    background: #007cba;
    border-color: #007cba;
    box-shadow: inset 0 0 0 3px #fff;
}

/* RTL Support for Action Options */
[dir="rtl"] .action-option .option-title::before {
    right: auto;
    left: 0;
}

/* Modal Footer */
.wc-reorder-modal .modal-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.btn-back,
.btn-continue,
.btn-add-to-cart,
.cancel-btn,
.confirm-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.btn-back,
.cancel-btn {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.btn-back::before,
.btn-continue::before,
.btn-add-to-cart::before,
.cancel-btn::before,
.confirm-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-back:hover::before,
.btn-continue:hover::before,
.btn-add-to-cart:hover::before,
.cancel-btn:hover::before,
.confirm-btn:hover::before {
    left: 100%;
}

.btn-back:hover,
.btn-continue:hover,
.btn-add-to-cart:hover,
.cancel-btn:hover,
.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

.btn-back:hover,
.cancel-btn:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    box-shadow: 0 8px 25px rgba(108,117,125,0.4);
}

.confirm-btn:active,
.btn-add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

/* Loading state for buttons */
.confirm-btn.loading,
.btn-add-to-cart.loading {
    opacity: 0.8;
    cursor: not-allowed;
    position: relative;
}

.confirm-btn.loading::after,
.btn-add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Button Enhancement */
.wc-advanced-reorder-btn {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.3s ease !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

.wc-advanced-reorder-btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #004666 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,124,186,0.3) !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Fixed Reorder Button */
.wc-fixed-reorder-button {
    position: fixed;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.wc-fixed-reorder-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
}

/* Text-only button should show text by default */
.wc-fixed-reorder-button.wc-btn-style-text {
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
    min-width: 120px;
}

.wc-fixed-reorder-button.wc-btn-style-text .reorder-text {
    display: inline;
}

.wc-fixed-reorder-button.wc-btn-style-text .reorder-icon {
    display: none;
}

.wc-fixed-reorder-button.wc-btn-style-text:hover .reorder-icon {
    display: inline;
    margin-right: 6px;
}

.wc-fixed-reorder-button.bottom-right {
    bottom: 20px;
    right: 20px;
}

.wc-fixed-reorder-button.bottom-left {
    bottom: 20px;
    left: 20px;
}

.wc-fixed-reorder-button.top-right {
    top: 20px;
    right: 20px;
}

.wc-fixed-reorder-button.top-left {
    top: 20px;
    left: 20px;
}

.reorder-icon {
    font-size: 24px;
    line-height: 1;
}

.reorder-text {
    display: none;
    margin-left: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.wc-fixed-reorder-button:hover .reorder-text {
    display: inline;
}

/* Override for text-only buttons */
.wc-fixed-reorder-button.wc-btn-style-text .reorder-text {
    display: inline !important;
    margin-left: 0;
}

@media (max-width: 768px) {
    .wc-fixed-reorder-button {
        width: 50px;
        height: 50px;
    }
    
    .reorder-icon {
        font-size: 20px;
    }
    
    .wc-reorder-modal .modal-content {
        width: 95%;
        margin: 20px;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .wc-reorder-modal .modal-header {
        padding: 20px;
    }
    
    .wc-reorder-modal .modal-header h3 {
        font-size: 18px;
    }
    
    .wc-reorder-modal .modal-body {
        padding: 20px;
    }
    
    .reorder-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .order-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    /* Action Options Mobile */
    .action-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .action-option {
        padding: 16px;
    }
    
    .action-option .option-icon {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .action-option .option-title {
        font-size: 15px;
        padding-right: 25px;
    }
    
    .action-option .option-desc {
        font-size: 12px;
    }
    
    .action-option .option-title::before {
        width: 18px;
        height: 18px;
    }
    
    /* Modal Footer Mobile */
    .wc-reorder-modal .modal-footer {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-back,
    .btn-continue,
    .btn-add-to-cart,
    .cancel-btn,
    .confirm-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 12px;
    }
}

/* RTL Support */
[dir="rtl"] .reorder-option:hover {
    transform: translateY(-5px) translateX(0);
}

[dir="rtl"] .order-history-item:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .wc-reorder-modal .modal-close {
    right: auto;
    left: 20px;
}

/* Apply background colors from settings */
:root {
    --wc-admin-bg-color: #f1f1f1;
    --wc-frontend-bg-color: #ffffff;
}

/* Shortcode Button Styles */
.wc-advanced-reorder-shortcode-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
}

.wc-advanced-reorder-shortcode-btn.btn-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.wc-advanced-reorder-shortcode-btn.btn-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
    text-decoration: none;
    color: #fff;
}

.wc-advanced-reorder-shortcode-btn.btn-link {
    background: none;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: underline;
}

.wc-advanced-reorder-shortcode-btn.btn-link:hover {
    background: rgba(102,126,234,0.1);
    color: #5a67d8;
    text-decoration: none;
}

.wc-advanced-reorder-shortcode-btn.btn-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.wc-advanced-reorder-shortcode-btn.btn-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.wc-advanced-reorder-shortcode-btn.btn-icon-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.wc-advanced-reorder-shortcode-btn.btn-icon-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
    color: #fff;
    text-decoration: none;
}

.wc-advanced-reorder-shortcode-btn .reorder-icon {
    font-size: 16px;
    line-height: 1;
}

/* ...existing code...
