/*
 * Trooworths Your Orders Information Page Styles
 * File: trooworths-your-orders.css
 */

/* Hero Section */
.orders-hero 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.orders-hero::before 
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-overlay.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.orders-hero h1 
{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.orders-hero .lead 
{
    opacity: 0.9;
}

/* Quick Access Section */
.quick-access-section 
{
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.quick-access-card 
{
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.quick-access-card:hover 
{
    border-color: #ffc107;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.quick-access-card .icon-wrapper 
{
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.quick-access-card .icon-wrapper i 
{
    font-size: 1.8rem;
    color: #1a1a2e;
}

.quick-access-card .icon-wrapper.blue-icon 
{
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
}

.quick-access-card .icon-wrapper.blue-icon i 
{
    color: #ffc107;
}

.quick-access-card .icon-wrapper.green-icon 
{
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.quick-access-card .icon-wrapper.green-icon i 
{
    color: #ffffff;
}

.quick-access-card h3 
{
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.quick-access-card p 
{
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.btn-quick-access 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-quick-access:hover 
{
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 26, 46, 0.3);
}

/* Orders Section */
.orders-section 
{
    padding: 60px 0;
}

/* Orders Card */
.orders-card 
{
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 35px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #ffc107;
    transition: all 0.3s ease;
}

.orders-card:hover 
{
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.orders-heading 
{
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.orders-card p 
{
    color: #555555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.orders-card p:last-child 
{
    margin-bottom: 0;
}

.orders-card a 
{
    color: #0f3460;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.orders-card a:hover 
{
    color: #ffc107;
    text-decoration: underline;
}

.orders-card strong 
{
    color: #1a1a2e;
}

.orders-card ul,
.orders-card ol 
{
    color: #555555;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
}

.orders-card li 
{
    margin-bottom: 10px;
}

/* Order Status Section */
.status-section 
{
    padding: 70px 0;
    background: #ffffff;
}

.status-section-header 
{
    text-align: center;
    margin-bottom: 50px;
}

.status-section-header h2 
{
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.status-section-header p 
{
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Status Cards */
.status-card 
{
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.status-card::before 
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.status-card.pending::before 
{
    background: linear-gradient(90deg, #ffc107, #ffcd39);
}

.status-card.processing::before 
{
    background: linear-gradient(90deg, #17a2b8, #20c9e6);
}

.status-card.shipped::before 
{
    background: linear-gradient(90deg, #6f42c1, #8969d3);
}

.status-card.out-for-delivery::before 
{
    background: linear-gradient(90deg, #fd7e14, #ff9a44);
}

.status-card.delivered::before 
{
    background: linear-gradient(90deg, #28a745, #48c765);
}

.status-card.cancelled::before 
{
    background: linear-gradient(90deg, #dc3545, #e86371);
}

.status-card:hover 
{
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.status-card .status-icon 
{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.status-card.pending .status-icon 
{
    background: rgba(255, 193, 7, 0.15);
    color: #d4a106;
}

.status-card.processing .status-icon 
{
    background: rgba(23, 162, 184, 0.15);
    color: #17a2b8;
}

.status-card.shipped .status-icon 
{
    background: rgba(111, 66, 193, 0.15);
    color: #6f42c1;
}

.status-card.out-for-delivery .status-icon 
{
    background: rgba(253, 126, 20, 0.15);
    color: #fd7e14;
}

.status-card.delivered .status-icon 
{
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.status-card.cancelled .status-icon 
{
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.status-card .status-icon i 
{
    font-size: 1.5rem;
}

.status-card h4 
{
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.status-card p 
{
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Feature Cards */
.feature-section 
{
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.feature-card 
{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover 
{
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-color: #ffc107;
}

.feature-card .feature-icon 
{
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card .feature-icon i 
{
    font-size: 1.3rem;
    color: #1a1a2e;
}

.feature-card .feature-content h4 
{
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.feature-card .feature-content p 
{
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Screenshot/Preview Box */
.preview-box 
{
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    border: 2px dashed #dee2e6;
    text-align: center;
}

.preview-box .preview-header 
{
    background: #1a1a2e;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    margin: -30px -30px 20px -30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.preview-box .preview-content 
{
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Order Sample Card */
.order-sample 
{
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    text-align: left;
}

.order-sample:last-child 
{
    margin-bottom: 0;
}

.order-sample .order-header 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.order-sample .order-id 
{
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.9rem;
}

.order-sample .order-status 
{
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.order-sample .order-status.delivered 
{
    background: #d4edda;
    color: #155724;
}

.order-sample .order-status.processing 
{
    background: #d1ecf1;
    color: #0c5460;
}

.order-sample .order-status.shipped 
{
    background: #e2d9f3;
    color: #4a235a;
}

.order-sample .order-details 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.order-sample .order-date 
{
    display: flex;
    align-items: center;
    gap: 5px;
}

.order-sample .order-total 
{
    font-weight: 700;
    color: #1a1a2e;
}

/* Step Indicator */
.step-indicator 
{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.step-dot 
{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-dot.active 
{
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    color: #1a1a2e;
}

.step-dot.completed 
{
    background: #28a745;
    color: #ffffff;
}

.step-line 
{
    width: 60px;
    height: 3px;
    background: #e9ecef;
    margin: 0 5px;
}

.step-line.completed 
{
    background: #28a745;
}

/* Important Notice Section */
.notice-section 
{
    background: #fff8e1;
    padding: 40px 0;
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
}

.notice-card 
{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.notice-card .notice-icon 
{
    width: 50px;
    height: 50px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-card .notice-icon i 
{
    font-size: 1.3rem;
    color: #1a1a2e;
}

.notice-card .notice-content h5 
{
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.notice-card .notice-content p 
{
    color: #555;
    margin-bottom: 0;
    line-height: 1.7;
}

/* CTA Section */
.cta-section 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 
{
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-section .lead 
{
    opacity: 0.9;
}

.cta-section .btn-warning 
{
    background-color: #ffc107;
    border-color: #ffc107;
    color: #1a1a2e;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-warning:hover 
{
    background-color: #ffcd39;
    border-color: #ffcd39;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

/* Last Updated Banner */
.bg-light.border-bottom 
{
    background-color: #f8f9fa !important;
}

.bg-light.border-bottom .text-muted 
{
    font-size: 0.95rem;
}

.bg-light.border-bottom i 
{
    color: #ffc107;
}

/* Action Button in Cards */
.btn-action 
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-action.btn-primary-action 
{
    background: #1a1a2e;
    color: #ffffff;
}

.btn-action.btn-primary-action:hover 
{
    background: #0f3460;
    color: #ffc107;
}

.btn-action.btn-secondary-action 
{
    background: #f8f9fa;
    color: #1a1a2e;
    border: 1px solid #dee2e6;
}

.btn-action.btn-secondary-action:hover 
{
    background: #e9ecef;
    border-color: #ffc107;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) 
{
    .orders-hero 
    {
        padding: 80px 0 60px;
    }
    
    .orders-hero h1 
    {
        font-size: 2.5rem;
    }
    
    .orders-section 
    {
        padding: 40px 0;
    }
    
    .orders-card 
    {
        padding: 25px;
    }
    
    .orders-heading 
    {
        font-size: 1.3rem;
    }
    
    .status-section,
    .feature-section 
    {
        padding: 50px 0;
    }
    
    .status-section-header h2 
    {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) 
{
    .orders-hero 
    {
        padding: 60px 0 40px;
    }
    
    .orders-hero h1 
    {
        font-size: 2rem;
    }
    
    .orders-hero .lead 
    {
        font-size: 1.1rem;
    }
    
    .orders-section 
    {
        padding: 30px 0;
    }
    
    .orders-card 
    {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .orders-heading 
    {
        font-size: 1.2rem;
    }
    
    .orders-card p 
    {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .quick-access-card 
    {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .quick-access-section 
    {
        padding: 40px 0;
    }
    
    .status-section,
    .feature-section 
    {
        padding: 40px 0;
    }
    
    .status-section-header h2 
    {
        font-size: 1.5rem;
    }
    
    .status-card 
    {
        margin-bottom: 15px;
    }
    
    .feature-card 
    {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .notice-card 
    {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-indicator 
    {
        flex-wrap: wrap;
    }
    
    .step-line 
    {
        width: 30px;
    }
    
    .cta-section 
    {
        padding: 60px 0;
    }
    
    .cta-section h2 
    {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) 
{
    .orders-hero
    {
        margin-top: 136px;
    }
}

/* Print Styles */
@media print 
{
    .orders-hero 
    {
        background: #1a1a2e !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .orders-card 
    {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .cta-section,
    .quick-access-section 
    {
        display: none;
    }
}

/* Smooth Scroll for Anchor Links */
html 
{
    scroll-behavior: smooth;
}

/* Accessibility Focus States */
.orders-card a:focus 
{
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

.btn-quick-access:focus,
.btn-warning:focus 
{
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}