* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #1a3a52;
    --secondary-color: #2c5c7a;
    --accent-color: #e74c3c;
    --accent-hover: #c0392b;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #dfe6e9;
    --shadow: none;     /* shadows removed */
    --shadow-lg: none;  /* shadows removed */
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}
.container {
    /* limit content width to 80% of viewport on larger screens */
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.main-logo {
    width: 20%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}
/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}
.header-info {
    display: flex;
    gap: 20px;
    align-items: center;
}
.date {
    font-size: 0.95rem;
    opacity: 0.9;
}
.header h1 {
    font-size: 2rem;
    font-weight: 700;
}
.header-info {
    display: flex;
    gap: 20px;
    align-items: center;
}
.date {
    font-size: 0.95rem;
    opacity: 0.95;
}
/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}
.loading-state.hidden {
    display: none;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loading-state p {
    color: var(--text-secondary);
    font-size: 1rem;
}
/* Search Section */
.search-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}
.search-section h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.search-container {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.search-input-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}
.search-input-wrapper label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.search-input {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}
.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
/* Status Timeline */
.status-timeline {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}
.timeline-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}
.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    margin-bottom: 20px;
}
.timeline-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}
.timeline-step.active .timeline-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: none;
}
.timeline-connector {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    z-index: 1;
}
.timeline-step:last-child .timeline-connector {
    display: none;
}
.timeline-step.active .timeline-connector {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.timeline-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.timeline-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.timeline-step.active .timeline-content h3 {
    color: var(--primary-color);
}
.timeline-step.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.timeline-step.disabled .timeline-icon {
    background: var(--border-color);
}
.timeline-step.disabled .timeline-connector {
    background: var(--border-color);
}
/* Orders Section */
.orders-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.section-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}
.section-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.total-count {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.total-count strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}
.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}
/* Orders Table */
.orders-table {
    overflow-x: auto;
}
.table-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    padding: 15px 20px;
    background: var(--bg-color);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: none;
    cursor: default;
}
.table-row:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}
.table-cell {
    font-size: 0.9rem;
    color: var(--text-primary);
    overflow: visible;
    word-wrap: break-word;
}
/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: normal;
    line-height: 1.3;
    text-align: left;
    background: rgba(26, 58, 82, 0.2);
    color: #1a3a52;
}
.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: transform 0.2s;
}
.btn-icon:hover {
    transform: scale(1.2);
}
/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}
.empty-state p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}
/* utility to hide panels */
.hidden { display: none !important; }
/* Footer */
.footer {
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-content span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.footer-content a {
    display: inline-flex;
    align-items: center;
}
.footer-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    display: block;
}
/* Responsive Design */
@media (max-width: 900px) {
    .timeline-container {
        flex-direction: column;
        gap: 0;
        align-items: center;
        max-width: 400px;
    }
    .timeline-step {
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 25px;
    }
    .timeline-step:last-child {
        margin-bottom: 0;
    }
    .timeline-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
        position: relative;
    }
    .timeline-content {
        margin-bottom: 15px;
        position: relative;
    }
    .timeline-content::after {
        content: '';
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 20px;
        background: var(--border-color);
        border-radius: 2px;
    }
    .timeline-step.active .timeline-content::after {
        background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    }
    .timeline-step:last-child .timeline-content::after {
        display: none;
    }
    .timeline-connector {
        display: none;
    }
    .table-header,
    .table-row {
        grid-template-columns: 80px 1fr 1fr 150px 100px 120px 60px;
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 15px;
    }
    .header {
        padding: 20px;
    }
    .header h1 {
        font-size: 1.5rem;
    }
    .status-timeline {
        padding: 25px 20px;
    }
    .timeline-icon {
        width: 60px;
        height: 60px;
    }
    .timeline-icon svg {
        width: 28px;
        height: 28px;
    }
    .timeline-content h3 {
        font-size: 1rem;
    }
    .orders-section {
        padding: 20px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .table-header {
        display: none;
    }
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    .table-cell {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .status-badge {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .header {
        padding: 15px;
    }
    .header h1 {
        font-size: 1.3rem;
    }
    .timeline-step {
        flex-direction: column;
        text-align: center;
    }
    .timeline-connector {
        left: 50%;
        transform: translateX(-2px);
    }
    .orders-section {
        padding: 20px;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

