/**
 * Guest Tracking Override - Frontend Styles
 */

.remote-order-details {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.remote-order-details .card {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.remote-order-details .card-body {
    padding: 1.5rem;
}

.remote-order-details h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.remote-order-details h4 {
    color: #555;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 500;
}

.remote-order-details .order-status,
.remote-order-details .tracking-number,
.remote-order-details .estimated-delivery {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.remote-order-details .order-status:last-child,
.remote-order-details .tracking-number:last-child,
.remote-order-details .estimated-delivery:last-child {
    border-bottom: none;
}

.remote-order-details .badge {
    padding: 0.35em 0.65em;
    font-size: 0.875rem;
    font-weight: 500;
}

.remote-order-details .badge-info {
    background-color: #17a2b8;
    color: #fff;
}

.remote-order-details .order-items {
    margin-top: 1.5rem;
}

.remote-order-details .table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.remote-order-details .table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem;
    font-weight: 600;
}

.remote-order-details .table tbody td {
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
}

.remote-order-details .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.remote-order-details .order-notes {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

.remote-order-details .order-notes p {
    margin-bottom: 0;
    color: #555;
}

.remote-order-details .additional-details {
    margin-top: 1.5rem;
}

.remote-order-details .additional-details summary {
    cursor: pointer;
    font-weight: 500;
    color: #007bff;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.remote-order-details .additional-details summary:hover {
    background-color: #e9ecef;
}

.remote-order-details .additional-details pre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.875rem;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .remote-order-details .table {
        font-size: 0.875rem;
    }
    
    .remote-order-details .table thead th,
    .remote-order-details .table tbody td {
        padding: 0.5rem;
    }
}

/* ACS Tracking Timeline Styles */
.acs_status_timeline {
    position: relative;
    padding: 20px 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.acs_status_timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background-color: #dee2e6;
}

.acs_status_item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
}

.acs_status_item:last-child {
    margin-bottom: 0;
}

.acs_bullet {
    position: absolute;
    left: 14px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #007bff;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #007bff;
    z-index: 1;
}

.acs_status_content {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 3px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.acs_status_date {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.acs_status_info {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
    .acs_status_timeline {
        max-width: 100%;
        padding: 15px 0;
    }
    
    .acs_status_timeline::before {
        left: 15px;
    }
    
    .acs_status_item {
        padding-left: 40px;
        margin-bottom: 20px;
    }
    
    .acs_bullet {
        left: 9px;
        width: 12px;
        height: 12px;
    }
    
    .acs_status_content {
        padding: 10px 12px;
    }
    
    .acs_status_date {
        font-size: 0.85rem;
    }
    
    .acs_status_info {
        font-size: 0.85rem;
    }
}