/**
 * WooCommerce Courier Checker - Frontend Styles
 * Complete CSS implementation for customer-facing features
 */

/* =============================================
   1. ROOT VARIABLES & GLOBAL STYLES
   ============================================= */

:root {
    --wcc-primary: #0073aa;
    --wcc-primary-dark: #005a87;
    --wcc-primary-light: #e8f4f8;
    
    --wcc-success: #10b981;
    --wcc-success-dark: #059669;
    --wcc-success-light: #d1fae5;
    
    --wcc-danger: #ef4444;
    --wcc-danger-dark: #dc2626;
    --wcc-danger-light: #fee2e2;
    
    --wcc-warning: #f59e0b;
    --wcc-warning-dark: #d97706;
    --wcc-warning-light: #fef3c7;
    
    --wcc-info: #3b82f6;
    --wcc-info-dark: #1d4ed8;
    --wcc-info-light: #dbeafe;
    
    --wcc-gray-50: #f9fafb;
    --wcc-gray-100: #f3f4f6;
    --wcc-gray-200: #e5e7eb;
    --wcc-gray-300: #d1d5db;
    --wcc-gray-400: #9ca3af;
    --wcc-gray-500: #6b7280;
    --wcc-gray-600: #4b5563;
    --wcc-gray-700: #374151;
    --wcc-gray-800: #1f2937;
    --wcc-gray-900: #111827;
    
    --wcc-border-radius: 8px;
    --wcc-border-radius-sm: 4px;
    --wcc-border-radius-lg: 12px;
    
    --wcc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --wcc-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --wcc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --wcc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --wcc-transition: all 0.3s ease;
    --wcc-transition-fast: all 0.15s ease;
}

/* =============================================
   2. COURIER INFO BOX - MAIN COMPONENT
   ============================================= */

.wcc-order-courier-info {
    background: linear-gradient(135deg, var(--wcc-primary) 0%, var(--wcc-primary-dark) 100%);
    color: white;
    padding: 24px;
    border-radius: var(--wcc-border-radius);
    margin: 24px 0;
    box-shadow: var(--wcc-shadow-lg);
    overflow: hidden;
    position: relative;
}

/* Decorative background pattern */
.wcc-order-courier-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.wcc-order-courier-info::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.wcc-order-courier-info h3 {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wcc-order-courier-info h3::before {
    content: '🚚';
    font-size: 28px;
}

.wcc-order-courier-info p {
    margin: 12px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wcc-order-courier-info strong {
    display: inline-block;
    min-width: 140px;
    font-weight: 700;
    color: white;
}

.wcc-order-courier-info a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: var(--wcc-transition-fast);
}

.wcc-order-courier-info a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* =============================================
   3. COURIER INFO DETAILS
   ============================================= */

.wcc-courier-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.wcc-courier-detail-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: var(--wcc-border-radius-sm);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--wcc-transition-fast);
}

.wcc-courier-detail-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.wcc-detail-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 6px;
    font-weight: 600;
}

.wcc-detail-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    word-break: break-all;
}

/* =============================================
   4. COURIER BADGE
   ============================================= */

.wcc-courier-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: var(--wcc-border-radius-lg);
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--wcc-transition-fast);
}

.wcc-courier-badge:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =============================================
   5. TRACKING BADGE
   ============================================= */

.wcc-tracking-badge {
    display: inline-block;
    background: var(--wcc-success);
    color: white;
    padding: 6px 12px;
    border-radius: var(--wcc-border-radius-lg);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    box-shadow: var(--wcc-shadow);
}

.wcc-tracking-badge:hover {
    opacity: 0.9;
}

/* =============================================
   6. STATUS BADGES
   ============================================= */

.wcc-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--wcc-border-radius-lg);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 2px;
    transition: var(--wcc-transition-fast);
}

.wcc-status-badge:hover {
    transform: scale(1.05);
    box-shadow: var(--wcc-shadow);
}

.wcc-status-delivered {
    background: var(--wcc-success-light);
    color: #065f46;
}

.wcc-status-cancelled {
    background: var(--wcc-danger-light);
    color: #7f1d1d;
}

.wcc-status-pending {
    background: var(--wcc-warning-light);
    color: #78350f;
}

.wcc-status-hold {
    background: var(--wcc-info-light);
    color: #1e40af;
}

.wcc-status-returned {
    background: #e0e7ff;
    color: #3730a3;
}

/* =============================================
   7. ALERT BOXES
   ============================================= */

.wcc-alert {
    padding: 16px;
    border-radius: var(--wcc-border-radius);
    margin-bottom: 20px;
    border-left: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wcc-alert-success {
    background: var(--wcc-success-light);
    border-color: var(--wcc-success);
    color: #065f46;
}

.wcc-alert-danger {
    background: var(--wcc-danger-light);
    border-color: var(--wcc-danger);
    color: #7f1d1d;
}

.wcc-alert-warning {
    background: var(--wcc-warning-light);
    border-color: var(--wcc-warning);
    color: #78350f;
}

.wcc-alert-info {
    background: var(--wcc-info-light);
    border-color: var(--wcc-info);
    color: #1e40af;
}

.wcc-alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.wcc-alert-content {
    flex: 1;
}

.wcc-alert-title {
    font-weight: 700;
    margin: 0 0 4px 0;
    font-size: 14px;
}

.wcc-alert-message {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* =============================================
   8. TRACKING INFO BOX
   ============================================= */

.wcc-tracking-info {
    background: white;
    border: 1px solid var(--wcc-gray-200);
    border-radius: var(--wcc-border-radius);
    padding: 20px;
    margin: 20px 0;
}

.wcc-tracking-info h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--wcc-gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wcc-tracking-info h4::before {
    content: '📍';
    font-size: 18px;
}

.wcc-tracking-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wcc-timeline-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-left: 30px;
}

.wcc-timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--wcc-primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--wcc-primary);
}

.wcc-timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 12px;
    width: 2px;
    height: calc(100% + 4px);
    background: var(--wcc-gray-300);
}

.wcc-timeline-content {
    flex: 1;
}

.wcc-timeline-status {
    font-weight: 700;
    color: var(--wcc-gray-900);
    font-size: 14px;
    margin-bottom: 4px;
}

.wcc-timeline-date {
    font-size: 12px;
    color: var(--wcc-gray-500);
}

/* =============================================
   9. CONTACT INFO BOX
   ============================================= */

.wcc-contact-info {
    background: var(--wcc-gray-50);
    border: 1px solid var(--wcc-gray-200);
    border-radius: var(--wcc-border-radius);
    padding: 20px;
    margin: 20px 0;
}

.wcc-contact-info h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--wcc-gray-900);
}

.wcc-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--wcc-gray-200);
}

.wcc-contact-row:last-child {
    border-bottom: none;
}

.wcc-contact-label {
    font-weight: 600;
    color: var(--wcc-gray-700);
    font-size: 13px;
}

.wcc-contact-value {
    color: var(--wcc-primary);
    font-weight: 600;
    font-size: 14px;
}

.wcc-contact-value a {
    color: var(--wcc-primary);
    text-decoration: none;
}

.wcc-contact-value a:hover {
    text-decoration: underline;
}

/* =============================================
   10. ACTION BUTTONS
   ============================================= */

.wcc-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.wcc-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: var(--wcc-border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wcc-transition-fast);
    text-decoration: none;
    text-align: center;
    min-width: 120px;
}

.wcc-btn-primary {
    background: var(--wcc-primary);
    color: white;
}

.wcc-btn-primary:hover {
    background: var(--wcc-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--wcc-shadow-md);
}

.wcc-btn-secondary {
    background: var(--wcc-gray-200);
    color: var(--wcc-gray-900);
}

.wcc-btn-secondary:hover {
    background: var(--wcc-gray-300);
}

.wcc-btn-success {
    background: var(--wcc-success);
    color: white;
}

.wcc-btn-success:hover {
    background: var(--wcc-success-dark);
    transform: translateY(-2px);
    box-shadow: var(--wcc-shadow-md);
}

.wcc-btn-danger {
    background: var(--wcc-danger);
    color: white;
}

.wcc-btn-danger:hover {
    background: var(--wcc-danger-dark);
    transform: translateY(-2px);
    box-shadow: var(--wcc-shadow-md);
}

.wcc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =============================================
   11. DELIVERY PROGRESS
   ============================================= */

.wcc-delivery-progress {
    margin: 20px 0;
}

.wcc-progress-title {
    font-weight: 700;
    color: var(--wcc-gray-900);
    margin-bottom: 10px;
    font-size: 14px;
}

.wcc-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--wcc-gray-200);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--wcc-shadow-sm);
}

.wcc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wcc-primary), var(--wcc-info));
    border-radius: 4px;
    transition: width 0.6s ease;
    animation: progressAnimation 1s ease-in-out;
}

@keyframes progressAnimation {
    0% {
        width: 0;
    }
}

.wcc-progress-label {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--wcc-gray-600);
}

.wcc-progress-percentage {
    font-weight: 700;
    color: var(--wcc-primary);
}

/* =============================================
   12. ESTIMATED DELIVERY
   ============================================= */

.wcc-estimated-delivery {
    background: linear-gradient(135deg, var(--wcc-info-light) 0%, var(--wcc-primary-light) 100%);
    border: 1px solid var(--wcc-info);
    border-radius: var(--wcc-border-radius);
    padding: 16px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wcc-delivery-icon {
    font-size: 24px;
}

.wcc-delivery-content {
    flex: 1;
}

.wcc-delivery-label {
    font-size: 12px;
    color: var(--wcc-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.wcc-delivery-date {
    font-size: 16px;
    font-weight: 700;
    color: var(--wcc-primary);
}

/* =============================================
   13. TRACKING CODE DISPLAY
   ============================================= */

.wcc-tracking-code-box {
    background: var(--wcc-gray-50);
    border: 1px dashed var(--wcc-gray-300);
    border-radius: var(--wcc-border-radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0;
}

.wcc-tracking-code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--wcc-primary);
    word-break: break-all;
}

.wcc-copy-btn {
    background: var(--wcc-primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: var(--wcc-border-radius-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: var(--wcc-transition-fast);
    white-space: nowrap;
}

.wcc-copy-btn:hover {
    background: var(--wcc-primary-dark);
    transform: scale(1.05);
}

.wcc-copy-btn.copied {
    background: var(--wcc-success);
}

/* =============================================
   14. RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 768px) {
    .wcc-order-courier-info {
        padding: 16px;
        margin: 16px 0;
    }

    .wcc-order-courier-info h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .wcc-order-courier-info p {
        font-size: 14px;
        margin: 10px 0;
    }

    .wcc-order-courier-info strong {
        min-width: 100px;
    }

    .wcc-courier-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wcc-action-buttons {
        flex-direction: column;
    }

    .wcc-btn {
        width: 100%;
    }

    .wcc-tracking-code-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .wcc-copy-btn {
        width: 100%;
    }

    .wcc-timeline-item {
        padding-left: 24px;
    }
}

/* =============================================
   15. PRINT STYLES
   ============================================= */

@media print {
    .wcc-order-courier-info {
        background: white !important;
        color: black !important;
        border: 2px solid var(--wcc-primary);
        box-shadow: none;
        page-break-inside: avoid;
    }

    .wcc-order-courier-info h3,
    .wcc-order-courier-info p {
        color: black !important;
    }

    .wcc-order-courier-info strong {
        color: var(--wcc-primary);
    }

    .wcc-action-buttons {
        display: none;
    }

    .wcc-alert {
        page-break-inside: avoid;
    }
}

/* =============================================
   16. DARK MODE SUPPORT
   ============================================= */

@media (prefers-color-scheme: dark) {
    .wcc-tracking-info,
    .wcc-contact-info {
        background: var(--wcc-gray-100);
        border-color: var(--wcc-gray-300);
    }

    .wcc-contact-row {
        border-bottom-color: var(--wcc-gray-300);
    }

    .wcc-tracking-info h4,
    .wcc-contact-info h4 {
        color: var(--wcc-gray-800);
    }

    .wcc-tracking-status,
    .wcc-contact-label {
        color: var(--wcc-gray-700);
    }

    .wcc-timeline-date,
    .wcc-progress-label {
        color: var(--wcc-gray-500);
    }
}

/* =============================================
   17. ACCESSIBILITY
   ============================================= */

.wcc-btn:focus-visible,
.wcc-copy-btn:focus-visible {
    outline: 2px solid var(--wcc-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .wcc-order-courier-info,
    .wcc-courier-detail-item,
    .wcc-alert,
    .wcc-btn,
    .wcc-progress-fill {
        animation: none;
        transition: none;
    }
}

/* =============================================
   18. LOADING STATES
   ============================================= */

.wcc-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--wcc-gray-300);
    border-top-color: var(--wcc-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   19. COURIER SPECIFIC STYLES
   ============================================= */

.wcc-courier-pathao .wcc-order-courier-info {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
}

.wcc-courier-steadfast .wcc-order-courier-info {
    background: linear-gradient(135deg, #00a86b 0%, #008c5f 100%);
}

.wcc-courier-redx .wcc-order-courier-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.wcc-courier-techsheba .wcc-order-courier-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.wcc-courier-sun .wcc-order-courier-info {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #333;
}

.wcc-courier-sun .wcc-order-courier-info h3,
.wcc-courier-sun .wcc-order-courier-info p,
.wcc-courier-sun .wcc-order-courier-info strong {
    color: #333;
}

.wcc-courier-sun .wcc-order-courier-info a {
    color: #333;
}

/* =============================================
   20. ANIMATION EFFECTS
   ============================================= */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.wcc-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.wcc-slide-in {
    animation: slideIn 0.3s ease-in-out;
}

.wcc-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* =============================================
   21. UTILITY CLASSES
   ============================================= */

.wcc-text-center {
    text-align: center;
}

.wcc-text-right {
    text-align: right;
}

.wcc-mt-0 {
    margin-top: 0;
}

.wcc-mt-1 {
    margin-top: 8px;
}

.wcc-mt-2 {
    margin-top: 16px;
}

.wcc-mt-3 {
    margin-top: 24px;
}

.wcc-mb-0 {
    margin-bottom: 0;
}

.wcc-mb-1 {
    margin-bottom: 8px;
}

.wcc-mb-2 {
    margin-bottom: 16px;
}

.wcc-mb-3 {
    margin-bottom: 24px;
}

.wcc-p-0 {
    padding: 0;
}

.wcc-p-1 {
    padding: 8px;
}

.wcc-p-2 {
    padding: 16px;
}

.wcc-p-3 {
    padding: 24px;
}

.wcc-hidden {
    display: none;
}

.wcc-visible {
    display: block;
}

/* =============================================
   22. CUSTOM SCROLLBAR
   ============================================= */

.wcc-scroll-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.wcc-scroll-container::-webkit-scrollbar-track {
    background: var(--wcc-gray-100);
}

.wcc-scroll-container::-webkit-scrollbar-thumb {
    background: var(--wcc-primary);
    border-radius: 4px;
}

.wcc-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--wcc-primary-dark);
}

/* =============================================
   23. BADGE VARIATIONS
   ============================================= */

.wcc-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--wcc-border-radius-lg);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcc-badge-success {
    background: var(--wcc-success-light);
    color: #065f46;
}

.wcc-badge-danger {
    background: var(--wcc-danger-light);
    color: #7f1d1d;
}

.wcc-badge-warning {
    background: var(--wcc-warning-light);
    color: #78350f;
}

.wcc-badge-info {
    background: var(--wcc-info-light);
    color: #1e40af;
}

.wcc-badge-primary {
    background: var(--wcc-primary-light);
    color: #054e7a;
}

/* =============================================
   24. NOTIFICATION STYLES
   ============================================= */

.wcc-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    padding: 16px;
    background: white;
    border-radius: var(--wcc-border-radius);
    box-shadow: var(--wcc-shadow-lg);
    border-left: 4px solid var(--wcc-primary);
    z-index: 9999;
    animation: slideInDown 0.3s ease-out;
}

.wcc-notification.success {
    border-left-color: var(--wcc-success);
}

.wcc-notification.error {
    border-left-color: var(--wcc-danger);
}

.wcc-notification.warning {
    border-left-color: var(--wcc-warning);
}

.wcc-notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--wcc-gray-500);
    padding: 0;
    width: 24px;
    height: 24px;
}

/* =============================================
   25. TOOLTIP STYLES
   ============================================= */

.wcc-tooltip {
    position: relative;
    display: inline-block;
}

.wcc-tooltip .wcc-tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--wcc-gray-900);
    color: white;
    text-align: center;
    border-radius: var(--wcc-border-radius-sm);
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    box-shadow: var(--wcc-shadow);
}

.wcc-tooltip .wcc-tooltiptext::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--wcc-gray-900) transparent transparent transparent;
}

.wcc-tooltip:hover .wcc-tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* =============================================
   26. RTL SUPPORT (Bengali)
   ============================================= */

[dir="rtl"] .wcc-order-courier-info {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .wcc-order-courier-info p {
    flex-direction: row-reverse;
}

[dir="rtl"] .wcc-courier-details {
    direction: rtl;
}

[dir="rtl"] .wcc-tracking-code-box {
    direction: rtl;
    flex-direction: row-reverse;
}

[dir="rtl"] .wcc-action-buttons {
    direction: rtl;
}

/* =============================================
   27. PERFORMANCE OPTIMIZATION
   ============================================= */

.wcc-will-change {
    will-change: transform;
}

.wcc-gpu-accelerate {
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

/* =============================================
   28. TRANSITION & ANIMATION OVERRIDES
   ============================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}