.orders-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.orders-header {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.orders-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.orders-header p {
    color: #666;
    font-size: 16px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 36px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 13px;
    color: #999;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-bar select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.filter-bar select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.refresh-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 14px;
}

.refresh-btn:hover {
    text-decoration: underline;
}

.orders-list {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.order-card {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.order-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.order-id {
    font-size: 13px;
    color: #666;
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.completed {
    background: #d4edda;
    color: #28a745;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.created {
    background: var(--color-tint);
    color: var(--color-primary-dark);
}

.order-status.failed {
    background: #f8d7da;
    color: #dc3545;
}

.order-body {
    padding: 20px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.order-row:last-child {
    margin-bottom: 0;
}

.order-label {
    color: #999;
    font-size: 14px;
}

.order-value {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.order-value.highlight {
    font-size: 18px;
    color: var(--color-primary);
}

.order-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-date {
    font-size: 12px;
    color: #999;
}

.order-method {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.quick-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-link {
    flex: 1;
    min-width: 150px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.quick-link-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.quick-link-text {
    color: #333;
    font-weight: 500;
}

@media (max-width: 600px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-bar select {
        width: 100%;
    }
    
    .order-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .order-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .quick-links {
        flex-direction: column;
    }
}
